Skip to content

Commit

Permalink
Update libs and README
Browse files Browse the repository at this point in the history
  • Loading branch information
dovecoteescapee committed Aug 4, 2024
1 parent 7389439 commit 989156d
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 10 deletions.
20 changes: 19 additions & 1 deletion README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,22 @@ DPI (Deep Packet Inspection) - это технология для анализа

- [ByeDPI](https://github.com/hufrea/byedpi)
- [Tun2Socks](https://github.com/dovecoteescapee/tun2socks)*
*форк с добавление раздельного тунелирования TCP и UDP
*форк с добавлением раздельного тунелирования TCP и UDP

## Сборка

Для сборки приложения требуется:

1. JDK 8 или новее
2. Android SDK
3. Android NDK
4. Go 1.22 или новее
5. CMake 3.22.1 или новее

Сборка приложения:

1. Клонируйте репозиторий с подмодулями:
`git clone --recurse-submodules`
2. Запустите скрипт сборки из корня репозитория:
`./gradlew assembleRelease`
3. APK будет лежать в `app/build/outputs/apk/release/`
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,21 @@ DPI (Deep Packet Inspection) is a technology for analyzing and filtering traffic
- [ByeDPI](https://github.com/hufrea/byedpi)
- [Tun2Socks](https://github.com/dovecoteescapee/tun2socks)*
*fork with the addition of separate tunneling of TCP and UDP

## Building

For building the application, you need:

1. JDK 8 or later
2. Android SDK
3. Android NDK
4. Go 1.22 or later
5. CMake 3.22.1 or later

To build the application:

1. Clone the repository with submodules:
`git clone --recurse-submodules`
2. Run the build script from the root of the repository:
`./gradlew assembleRelease`
3. The APK will be in `app/build/outputs/apk/release/`
16 changes: 8 additions & 8 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,18 @@ android {
dependencies {
implementation(files("libs/tun2socks.aar"))

implementation("androidx.fragment:fragment-ktx:1.6.2")
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.fragment:fragment-ktx:1.8.2")
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.appcompat:appcompat:1.7.0")
implementation("androidx.preference:preference-ktx:1.2.1")
implementation("com.takisoft.preferencex:preferencex:1.1.0")
implementation("com.google.android.material:material:1.11.0")
implementation("com.google.android.material:material:1.12.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
implementation("androidx.lifecycle:lifecycle-service:2.7.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.4")
implementation("androidx.lifecycle:lifecycle-service:2.8.4")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
}

abstract class BuildTun2Socks : DefaultTask() {
Expand Down
2 changes: 1 addition & 1 deletion app/libs/tun2socks

0 comments on commit 989156d

Please sign in to comment.