Bump version
This commit is contained in:
@@ -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",
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user