Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Apr 2, 2018
1 parent 8e65f49 commit 9f90600
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/src/main/jni/shadowsocks-libev
Submodule shadowsocks-libev updated 1 files
+2 −4 src/local.c
4 changes: 2 additions & 2 deletions mobile/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {
applicationId "com.github.shadowsocks"
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.sdkVersion
versionCode 4050300
versionName "4.5.3"
versionCode 4050400
versionName "4.5.4"
testApplicationId "com.github.shadowsocks.test"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
resConfigs "fa", "fr", "ja", "ko", "ru", "zh-rCN", "zh-rTW"
Expand Down
3 changes: 3 additions & 0 deletions mobile/src/main/java/com/github/shadowsocks/bg/BaseService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ object BaseService {

fun startNativeProcesses() {
val data = data
val profile = data.profile!!
val cmd = buildAdditionalArguments(arrayListOf(
File((this as Context).applicationInfo.nativeLibraryDir, Executable.SS_LOCAL).absolutePath,
"-u",
Expand All @@ -269,6 +270,8 @@ object BaseService {
cmd += acl.absolutePath
}

if (profile.udpdns) cmd += "-D"

if (TcpFastOpen.sendEnabled) cmd += "--fast-open"

data.sslocalProcess = GuardedProcess(cmd).start()
Expand Down
2 changes: 0 additions & 2 deletions mobile/src/main/java/com/github/shadowsocks/bg/VpnService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ class VpnService : BaseVpnService(), LocalDnsService.Interface {
}

override fun buildAdditionalArguments(cmd: ArrayList<String>): ArrayList<String> {
val profile = data.profile!!
cmd += "-V"
if (profile.udpdns) cmd += "-D"
return cmd
}

Expand Down

0 comments on commit 9f90600

Please sign in to comment.