暫無描述

Jason A. Donenfeld 4ba87947ae tools: bump wg-go 7 月之前
.idea 40eaa54cf0 ui: reformat all code 1 年之前
gradle db7f70736f gradle: bump many deps 7 月之前
tunnel 4ba87947ae tools: bump wg-go 7 月之前
ui 9453b6c0e2 ui: sync with crowdin 7 月之前
.gitignore 53f8c8dbc4 build: remove bespoke signing config properties 1 年之前
.gitmodules 6209d3ee3d tools: clean unwanted ELF flags from binaries 1 年之前
COPYING 7b28d51cdd global: move to Apache 2.0 5 年之前
README.md 318f36a205 README: account for java version updates 1 年之前
build.gradle.kts db52515dc6 gradle: upgrade to 8.3 8 月之前
gradle.properties 0a8de709b6 version: bump 7 月之前
gradlew db52515dc6 gradle: upgrade to 8.3 8 月之前
settings.gradle.kts bed2f2e5d6 gradle: convert build files to Kotlin 1 年之前
sync-crowdin.sh 106b67d892 build: add crowdin syncer script and use it 3 年之前

README.md

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone --recurse-submodules https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ ./gradlew assembleRelease

macOS users may need flock(1).

Embedding

The tunnel library is on Maven Central, alongside extensive class library documentation.

implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion'

The library makes use of Java 8 features, so be sure to support those in your gradle configuration with desugaring:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_17
    targetCompatibility JavaVersion.VERSION_17
    coreLibraryDesugaringEnabled = true
}
dependencies {
    coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.3"
}

Translating

Please help us translate the app into several languages on our translation platform.