GlobalProtect-openconnect/README.md
Joe Esteves 94a2cd2886 add deps 📜
2023-08-03 20:07:22 +08:00

1.0 KiB

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 or sudo 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".