Skip to content

Commit 6ef346c

Browse files
committed
Fix #3185
1 parent 0934e15 commit 6ef346c

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

buildSrc/src/main/kotlin/Helpers.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ fun Project.setupApp() {
8080
buildTypes {
8181
getByName("debug") {
8282
isPseudoLocalesEnabled = true
83+
packagingOptions.doNotStrip("**/libsslocal.so")
8384
}
8485
getByName("release") {
8586
isShrinkResources = true

core/src/main/java/com/github/shadowsocks/bg/ProxyInstance.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
8484
}
8585
config.put("plugin", path).put("plugin_opts", opts.toString())
8686
}
87-
config.put("dns", "system")
87+
config.put("dns", "unix://local_dns_path")
8888
config.put("mode", mode)
8989
config.put("locals", JSONArray().apply {
9090
// local SOCKS5 proxy

0 commit comments

Comments
 (0)