Commit 84ac0c44 authored by Mygod's avatar Mygod

Fix #2571

parent 1f4c07e1
...@@ -78,7 +78,9 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro ...@@ -78,7 +78,9 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
val cmd = arrayListOf( val cmd = arrayListOf(
File((service as Context).applicationInfo.nativeLibraryDir, Executable.SS_LOCAL).absolutePath, File((service as Context).applicationInfo.nativeLibraryDir, Executable.SS_LOCAL).absolutePath,
"--stat-path", stat.absolutePath, "--stat-path", stat.absolutePath,
"-c", configFile.absolutePath) "-c", configFile.absolutePath,
"--udp-bind-addr", "127.0.0.1:1111",
)
if (service.isVpnService) cmd += arrayListOf("--vpn") if (service.isVpnService) cmd += arrayListOf("--vpn")
if (extraFlag != null) cmd.add(extraFlag) if (extraFlag != null) cmd.add(extraFlag)
if (dnsRelay) try { if (dnsRelay) try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment