mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
.vscode | ||
gpclient | ||
gpcommon | ||
gpgui | ||
gpservice | ||
.editorconfig | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
com.yuezk.gp.policy | ||
README.md | ||
screenshot-light.png |
Development
Dependencies
The following packages will be required to build depending on your environment:
- Cargo
- pnpm
- openconnect-devel (containing
openconnect.h
):sudo apt install libopenconnect-dev
orsudo yum install openconnect-devel
- GDK dependencies
sudo apt install libgdk3.0-cil-dev libcairo2-dev libsoup2.4-dev libgdk-pixbuf-2.0-dev libjavascriptcoregtk-4.0-dev libatk1.0-dev libpango1.0-dev libwebkit2gtk-4.0-dev
Build the service
# Build the client first
cargo build -p gpclient
# Build the service
cargo build -p gpservice
Start the service
sudo ./target/debug/gpservice
Start the GUI
cd gpgui
pnpm install
pnpm tauri dev
Open the DevTools
Right-click on the GUI window and select "Inspect Element".