proton-bridge/internal/frontend/bridge-gui/bridge-gui
Romain LE JEUNE 91900a7942 feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
..
MacOS GODT-2010: add Cocoa app delegate handler for second application instance. 2023-01-05 17:12:02 +01:00
qml feat(GODT-2355): improve wording and actions on bad event 2023-02-13 14:27:34 +01:00
vcpkg/triplets Other: catalina build. 2022-12-07 09:56:21 +01:00
AppController.cpp feat(GODT-2364): added optional details to C++ exceptions. 2023-02-28 06:21:25 +01:00
AppController.h feat(GODT-2364): added optional details to C++ exceptions. 2023-02-28 06:21:25 +01:00
BridgeApp.cpp GODT-2179: added handler for exceptions in QML backend methods. 2023-01-10 08:33:42 +01:00
BridgeApp.h GODT-2179: added handler for exceptions in QML backend methods. 2023-01-10 08:33:42 +01:00
BuildConfig.h.in feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
CMakeLists.txt feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
CommandLine.cpp GODT-2253: Restart Launcher from the gui when GUI crashes. 2023-01-20 07:43:02 +00:00
CommandLine.h GODT-2253: Restart Launcher from the gui when GUI crashes. 2023-01-20 07:43:02 +00:00
DeployDarwin.cmake GODT-2190: Unify crashpad_handler for darwin. 2022-12-07 13:05:33 +00:00
DeployLinux.cmake
DeployWindows.cmake Other: include sentry dll for Windows deploy. 2022-11-29 14:26:09 +00:00
Doxyfile Other: reorganised QMLBackend class code. 2023-01-09 10:15:21 +01:00
EventStreamWorker.cpp Other: C++ Code reformat. 2023-01-05 08:37:38 +01:00
EventStreamWorker.h Other: C++ Code reformat. 2023-01-05 08:37:38 +01:00
Pch.h Other: Update copyright year 2023-01-02 11:09:11 +01:00
QMLBackend.cpp feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
QMLBackend.h feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
README.md
Resources.qrc Other: changed splash screen icon. 2023-01-25 09:42:00 +00:00
Resources.rc.in GODT-2031: updated bridge description. 2022-11-10 15:31:53 +01:00
SentryUtils.cpp feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
SentryUtils.h feat(GODT-2278): improve sentry logs. 2023-02-07 14:31:06 +01:00
UserList.cpp GODT-1770: handle UserBadEvent in CLI and gRPC. 2023-01-24 13:07:27 +01:00
UserList.h GODT-1770: handle UserBadEvent in CLI and gRPC. 2023-01-24 13:07:27 +01:00
build.ps1 feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
build.sh feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00
main.cpp feat(GODT-2357): Hide DSN_SENTRY and use single setting point for DSN_SENTRY. 2023-03-06 08:25:24 +00:00

README.md

Prerequisite

Linux (debian and derivates)

sudo apt install build-essential
sudo apt install tar curl zip unzip
sudo apt install linux-headers-$(uname -r)
sudo apt install mesa-common-dev libglu1-mesa-dev

macOS & WIndows

Coming soon...

Define QT6DIR

export QT6DIR=/opt/Qt/6.3.1/gcc_64

install vcpkg and define VCPKG_ROOT

git clone https://github.com/Microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh 
export VCPKG_ROOT=$PWD/vcpkg

install grpc & protobuf

./vcpkg install grpc

Building

A simple script is provided that run the appropriate CMake command.

./build.sh

Running

Simply run from the cmake build folder (cmake-build-debug by default)

./bridge-gui

bridge-gui will launch the bridge executable that it will try to locate in

  • The working directory.
  • The application directory.
  • cmd/Desktop-Bridge/, ../cmd/Desktop-Bridge/, ../../cmd/Desktop-Bridge (up to five parent folders above the current folder are inspected).

you can specify the location of the bridge executable using the -b or --bridge-exe-path command-line parameter:

./bridge-gui -b "~/bin/bridge"

you can also ask bridge-gui to connect to an already running instance of bridge using the -a or --attach command line parameter.

./bridge-gui -a