Go to file
Joe Esteves aa2e5de69a
add deps 📜
2023-08-03 09:00:45 -03:00
.vscode refactor: support edit the gp.conf 2023-08-02 15:57:23 +08:00
gpclient refactor: rename to gpcommon 2023-05-24 10:07:42 +08:00
gpcommon refactor: encrypt the sensitive data 2023-07-22 07:33:53 +08:00
gpgui refactor: support edit the gp.conf 2023-08-02 15:57:23 +08:00
gpservice refactor: encrypt the sensitive data 2023-07-22 07:33:53 +08:00
.editorconfig refactor: refactor UI using jotai 2023-06-07 11:53:00 +08:00
.gitignore refactor: rewrite 2023-05-10 21:16:33 +08:00
Cargo.lock refactor: support edit the gp.conf 2023-08-02 15:57:23 +08:00
Cargo.toml refactor: improve workflow 2023-06-21 16:25:51 +08:00
com.yuezk.gp.policy refactor: support edit the gp.conf 2023-08-02 15:57:23 +08:00
README.md add deps 📜 2023-08-03 09:00:45 -03:00
screenshot-light.png refactor: support edit the gp.conf 2023-08-02 15:57:23 +08:00

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