mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 10:56:13 -08:00
The GUI shells out to pkexec for privilege elevation on Linux (elevate/linux.rs). Since Debian 12 / Ubuntu 24.04, pkexec is shipped as a standalone binary package split from policykit-1, so it is not guaranteed to be installed. On such systems (e.g. a minimal Debian 13 desktop) installing the official deb succeeds but launching the GUI panics with: Failed to run elevated command: No such file or directory (os error 2) Add 'pkexec | policykit-1' to the deb bundle dependencies. The alternation keeps the package installable on older releases where pkexec still lives inside policykit-1 (e.g. Ubuntu 22.04), while tauri-bundler continues to append the auto-detected webkit2gtk/gtk dependencies.
GUI for EasyTier
this is a GUI implementation for EasyTier, based on Tauri2.
Compile
Install prerequisites
apt install npm
npm install -g pnpm
For Desktop (Win/Mac/Linux)
cd ../tauri-plugin-vpnservice
pnpm install
pnpm build
cd ../easytier-web/frontend-lib
pnpm install
pnpm build
cd ../../easytier-gui
pnpm install
pnpm tauri build
For Android
Need to install android SDK / emulator / NDK / Java (easy with android studio)
# For ArchLinux
sudo pacman -Sy sdkmanager
sudo sdkmanager --install platform-tools platforms\;android-34 ndk\;r26 build-tools
export PATH=/opt/android-sdk/platform-tools:$PATH
export ANDROID_HOME=/opt/android-sdk/
export NDK_HOME=/opt/android-sdk/ndk/26.0.10792818/
rustup target add aarch64-linux-android
install java 20
Java version depend on gradle version specified in (easytier-gui\src-tauri\gen\android\build.gradle.kts)
See Gradle compatibility matrix for detail .
pnpm install
pnpm tauri android init
pnpm tauri android build