mirror of
https://github.com/EasyTier/EasyTier.git
synced 2024-11-16 03:32:43 +08:00
3f9a1d8f2e
Some checks failed
EasyTier Core / pre_job (push) Has been cancelled
EasyTier GUI / pre_job (push) Has been cancelled
EasyTier Mobile / pre_job (push) Has been cancelled
EasyTier Test / pre_job (push) Has been cancelled
EasyTier Core / build (freebsd-13.2-x86_64, 13.2, ubuntu-latest, x86_64-unknown-freebsd) (push) Has been cancelled
EasyTier Core / build (linux-aarch64, ubuntu-latest, aarch64-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (linux-arm, ubuntu-latest, arm-unknown-linux-musleabi) (push) Has been cancelled
EasyTier Core / build (linux-armhf, ubuntu-latest, arm-unknown-linux-musleabihf) (push) Has been cancelled
EasyTier Core / build (linux-armv7, ubuntu-latest, armv7-unknown-linux-musleabi) (push) Has been cancelled
EasyTier Core / build (linux-armv7hf, ubuntu-latest, armv7-unknown-linux-musleabihf) (push) Has been cancelled
EasyTier Core / build (linux-mips, ubuntu-latest, mips-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (linux-mipsel, ubuntu-latest, mipsel-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (linux-x86_64, ubuntu-latest, x86_64-unknown-linux-musl) (push) Has been cancelled
EasyTier Core / build (macos-aarch64, macos-latest, aarch64-apple-darwin) (push) Has been cancelled
EasyTier Core / build (macos-x86_64, macos-latest, x86_64-apple-darwin) (push) Has been cancelled
EasyTier Core / build (windows-x86_64, windows-latest, x86_64-pc-windows-msvc) (push) Has been cancelled
EasyTier Core / core-result (push) Has been cancelled
EasyTier GUI / build-gui (linux-aarch64, aarch64-unknown-linux-gnu, ubuntu-latest, aarch64-unknown-linux-musl) (push) Has been cancelled
EasyTier GUI / build-gui (linux-x86_64, x86_64-unknown-linux-gnu, ubuntu-latest, x86_64-unknown-linux-musl) (push) Has been cancelled
EasyTier GUI / build-gui (macos-aarch64, aarch64-apple-darwin, macos-latest, aarch64-apple-darwin) (push) Has been cancelled
EasyTier GUI / build-gui (macos-x86_64, x86_64-apple-darwin, macos-latest, x86_64-apple-darwin) (push) Has been cancelled
EasyTier GUI / build-gui (windows-x86_64, x86_64-pc-windows-msvc, windows-latest, x86_64-pc-windows-msvc) (push) Has been cancelled
EasyTier GUI / gui-result (push) Has been cancelled
EasyTier Mobile / build-mobile (android, ubuntu-latest, android) (push) Has been cancelled
EasyTier Mobile / mobile-result (push) Has been cancelled
EasyTier Test / test (push) Has been cancelled
51 lines
1.0 KiB
Markdown
51 lines
1.0 KiB
Markdown
# 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-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](https://docs.gradle.org/current/userguide/compatibility.html) for detail .
|
|
|
|
```
|
|
pnpm install
|
|
pnpm tauri android init
|
|
pnpm tauri android build
|
|
```
|