Skip to content

Commit c356d7b

Browse files
author
isayan
committed
fix help and release pkg
1 parent e59d25c commit c356d7b

File tree

13 files changed

+35
-15
lines changed

13 files changed

+35
-15
lines changed

Readme-ja.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ TunProxyアプリを起動すると以下の画面が起動します。
1414

1515
![Tun Proxy](images/TunProxy.png)
1616

17-
* Proxy address (host:port)
18-
* 接続先のプロキシサーバを **IPアドレス:ポート番号** の形式で指定します。
17+
* Proxy address (ipv4:port)
18+
* 接続先のプロキシサーバを **IPv4アドレス:ポート番号** の形式で指定します。
1919
IPアドレスはIPv4形式で記載する必要があります。
2020

2121
* [Start] ボタン
@@ -59,12 +59,18 @@ Disallowed Application と Allowed Application の2つのモードがありま
5959

6060
プリケーションリストは、画面上部のメニューアイコン(![Menu](images/Menu.png))からソートできます。
6161

62-
* アプリ名で並べ替え
62+
* sort by app name
6363
* アプリケーション名でアプリケーションリストを並べ替えます。
6464

65-
* パッケージ名で並べ替え
65+
* sort by package name
6666
* パッケージ名でアプリケーションリストを並べ替えます。
6767

68+
* order by asc
69+
* 昇順にソートします
70+
71+
* order by desc
72+
* 降順にソートします
73+
6874
### MITM (SSL 復号化)
6975

7076
TunProxyはSSL復号化を実行しません。TunProxyは透過プロキシのように機能します。
@@ -109,5 +115,5 @@ SSLを復号化するには、ローカルプロキシツールのRoot証明書
109115

110116
## 開発環境
111117

112-
* JRE(JDK) 1.8以上(Oracle JRE) (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
113-
* AndroidStudio 3.4.2 (https://developer.android.com/studio/index.html)
118+
* JRE(JDK) 1.8以上(Open JDK)
119+
* AndroidStudio 3.6.1 (https://developer.android.com/studio/index.html)

Readme.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ Android HTTP traffic Proxy setting tool
33

44
Language/[Japanese](https://github.com/raise-isayan/TunProxy/blob/master/Readme-ja.md)
55

6-
This tool is a proxy setting tool using Android VPNService.
7-
It is possible to acquire only HTTP traffic from the specified application.
6+
This tool is a proxy configuration tool that takes advantage of Android VPNService feature.
7+
Only the communication from the specified application can be acquired.
88

99
## how to use
1010

1111
When you start the TunProxy application, the following screen will be launched.
1212

1313
![Tun Proxy](images/TunProxy.png)
1414

15-
* Proxy address (host:port)
16-
* Specify the destination proxy server in the format **IP address:port number**.
15+
* Proxy address (ipv4:port)
16+
* Specify the destination proxy server in the format **IPv4 address:port number**.
1717
The IP address must be described in IPv4 format.
1818

1919
* [Start] button
@@ -63,6 +63,12 @@ The application list can be sorted from the menu icon (![Menu](images/Menu.png)
6363
* sort by package name
6464
* Sort application list by package name
6565

66+
* order by asc
67+
* Sorting in ascending order
68+
69+
* order by desc
70+
* Sorting in descending order
71+
6672
### MITM (SSL decrypt)
6773

6874
TunProxy does not perform SSL decryption. TunProxy acts like a transparent proxy.
@@ -105,5 +111,5 @@ Most of the code was created based on the following applications for creating ap
105111

106112
## Development environment
107113

108-
* JRE(JDK) 1.8以上(Oracle JRE) (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
109-
* AndroidStudio 3.4.2 (https://developer.android.com/studio/index.html)
114+
* JRE(JDK) 1.8以上(Open JDK)
115+
* AndroidStudio 3.6.1 (https://developer.android.com/studio/index.html)

android_app/app/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ android {
88
applicationId "tun.proxy"
99
minSdkVersion 21
1010
targetSdkVersion 29
11-
versionCode 100220
11+
versionCode 100230
1212
versionName VERSION_NAME
1313
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1414
externalNativeBuild {
1515
cmake {
1616
cppFlags "-std=c++11 -fvisibility=hidden "
17-
abiFilters 'armeabi-v7a','arm64-v8a'
17+
abiFilters 'armeabi-v7a','arm64-v8a', 'x86'
1818
arguments "-DCMAKE_VERBOSE_MAKEFILE=1 -DANDROID_FUNCTION_LEVEL_LINKING=ON"
1919
}
2020
}
@@ -35,6 +35,7 @@ android {
3535
release {
3636
minifyEnabled false
3737
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
38+
signingConfig signingConfigs.release
3839
}
3940
}
4041
lintOptions {
@@ -66,6 +67,10 @@ dependencies {
6667

6768
implementation 'androidx.preference:preference:1.1.0'
6869
implementation 'androidx.appcompat:appcompat:1.0.2'
70+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
71+
implementation 'androidx.vectordrawable:vectordrawable:1.0.0'
72+
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
73+
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
6974
implementation 'com.google.android.material:material:1.0.0'
7075
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
7176
implementation 'androidx.navigation:navigation-fragment:2.0.0'
2.06 MB
Binary file not shown.

android_app/app/src/main/java/tun/proxy/SettingsActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public boolean onPreferenceChange(Preference preference, Object value) {
107107
// Set the summary to reflect the new value.
108108
preference.setSummary(index >= 0 ? listPreference.getEntries()[index] : null);
109109

110+
MyApplication.VPNMode mode = MyApplication.VPNMode.values()[index];
111+
MyApplication.getInstance().storeVPNMode(mode);
110112
}
111113
return true;
112114
}
@@ -413,6 +415,7 @@ private Set<String> getAllSelectedPackageSet() {
413415
}
414416

415417
private void storeSelectedPackageSet(final Set<String> set) {
418+
MyApplication.getInstance().storeVPNMode(this.mode);
416419
MyApplication.getInstance().storeVPNApplication(this.mode, set);
417420
}
418421

android_app/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ android.useAndroidX=true
1919
android.enableJetifier=true
2020

2121
APP_NAME=TunProxy
22-
VERSION_NAME=1.2.2
22+
VERSION_NAME=1.2.3
2323

2424
productKeyStore=../changeit.jks
2525
productKeyAlias=key0

images/Menu-Settings-Search.png

-5.46 KB
Loading

images/Menu-Settings-SortBy.png

-3.02 KB
Loading

images/Menu-Settings-app.png

-3.17 KB
Loading

images/Menu-Settings.png

207 Bytes
Loading

0 commit comments

Comments
 (0)