proton-bridge/internal/frontend/bridge-gui/bridge-gui
Dimitri Papadopoulos 66bc911652
chore: fix typos found by codespell
2023-07-07 15:31:14 +02:00
..
MacOS feat(GODT-2748): log calls that cause main window to show, with reason. 2023-06-29 16:56:47 +02:00
qml feat(GODT-2712): Feed config_status with user action while pending. 2023-06-30 09:43:26 +00:00
vcpkg/triplets
.lldbinit fix(GODT-2680): fix for C++ debugger not working on ARM64 because of OpenSSL 3.1 2023-06-05 13:37:41 +00:00
AppController.cpp feat(GODT-2690): update sentry reporting in GUI for new log file naming. 2023-06-14 14:28:38 +02:00
AppController.h feat(GODT-2690): update sentry reporting in GUI for new log file naming. 2023-06-14 14:28:38 +02: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-2655): display internal build time tag in log and GUI. 2023-06-01 05:24:51 +00:00
CMakeLists.txt feat(GODT-2540): notify user of wrong IMAP password. 2023-05-03 13:17:25 +02:00
CommandLine.cpp feat(GODT-2690): update sentry reporting in GUI for new log file naming. 2023-06-14 14:28:38 +02:00
CommandLine.h feat(GODT-2690): update sentry reporting in GUI for new log file naming. 2023-06-14 14:28:38 +02:00
DeployDarwin.cmake Revert GODT-2373 (bridgelib). 2023-02-24 15:22:12 +01:00
DeployLinux.cmake fix(GODT-2410): Keep hardcoded version for ICU libs since Qt is looking to load the exact version it has been bundled with. 2023-04-27 10:07:57 +02:00
DeployWindows.cmake Revert GODT-2373 (bridgelib). 2023-02-24 15:22:12 +01:00
Doxyfile
EventStreamWorker.cpp feat(GODT-2728): remove the sentry report for gRPC event stream interruptions in bridge-gui. 2023-06-27 17:08:09 +02:00
EventStreamWorker.h
LogUtils.cpp feat(GODT-2690): update sentry reporting in GUI for new log file naming. 2023-06-14 14:28:38 +02:00
LogUtils.h feat(GODT-2690): update sentry reporting in GUI for new log file naming. 2023-06-14 14:28:38 +02:00
Pch.h feat(GODT-2540): notify user of wrong IMAP password. 2023-05-03 13:17:25 +02:00
QMLBackend.cpp feat(GODT-2712): Feed config_status with user action while pending. 2023-06-30 09:43:26 +00:00
QMLBackend.h chore: fix typos found by codespell 2023-07-07 15:31:14 +02:00
README.md
Resources.qrc feat(GODT-2686): Change the orientation of the expand/collapse arrow for Advanced settings. 2023-06-23 09:01:40 +00:00
Resources.rc.in
SentryUtils.cpp feat(GODT-2639): Enhance sentry init log. 2023-05-22 09:30:51 +00:00
SentryUtils.h feat(GODT-2639): Enhance sentry init log. 2023-05-22 09:30:51 +00:00
Settings.cpp feat(GODT-2523): use software QML rendering backend by default on Windows. 2023-04-03 09:55:19 +02:00
Settings.h feat(GODT-2382): Added bridge-gui settings file with 'UseSoftwareRenderer' value. 2023-02-28 13:04:49 +01:00
TrayIcon.cpp fix(GODT-2756): fix for 'Settings' context menu opening the 'Help' page. 2023-07-03 16:35:42 +02:00
TrayIcon.h feat(GODT-2540): pop-up notification error icon is loaded on startup. 2023-05-03 15:19:02 +02:00
UserList.cpp feat(GODT-2261): sync progress in GUI. 2023-02-22 12:11:42 +00:00
UserList.h feat(GODT-2261): sync progress in GUI. 2023-02-22 12:11:42 +00:00
build.ps1 feat(GODT-2655): display internal build time tag in log and GUI. 2023-06-01 05:24:51 +00:00
build.sh chore: fix typos found by codespell 2023-07-07 15:31:14 +02:00
main.cpp feat(GODT-2748): log calls that cause main window to show, with reason. 2023-06-29 16:56:47 +02: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