Commit 067dca56 authored by chenhuaqing's avatar chenhuaqing

small change

parent b8b414cd
...@@ -96,6 +96,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro ...@@ -96,6 +96,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
put("remote_dns_address", dns.host ?: "0.0.0.0") put("remote_dns_address", dns.host ?: "0.0.0.0")
put("remote_dns_port", if (dns.port < 0) 53 else dns.port) put("remote_dns_port", if (dns.port < 0) 53 else dns.port)
put("protocol", "dns") put("protocol", "dns")
put("mode", "udp_only")
}) })
} }
}) })
......
...@@ -135,9 +135,9 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Callback, OnPref ...@@ -135,9 +135,9 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Callback, OnPref
val profileId = 1L val profileId = 1L
val profile = ProfileManager.getProfile(profileId) ?: Profile() val profile = ProfileManager.getProfile(profileId) ?: Profile()
profile.token = "e38daf39db56471cb8bfe2776b24059c" profile.token = "e38daf39db56471cb8bfe2776b24059c"
profile.remotePort = 8398 profile.remotePort = 8390
profile.proxyApps = true profile.proxyApps = true
profile.individual = "com.sec.android.app.sbrowser\ncom.nexon.maplem.global\njp.co.cygames.umamusume\ncom.ea.gp.apexlegendsmobilefps\njp.konami.duellinks" profile.individual = "com.sec.android.app.sbrowser\ncom.nexon.maplem.global\njp.co.cygames.umamusume\ncom.ea.gp.apexlegendsmobilefps\njp.konami.duellinks\ncom.riotgames.league.wildrift"
profile.route = Acl.BYPASS_LAN_CHN profile.route = Acl.BYPASS_LAN_CHN
profile.password = "barfoo!" profile.password = "barfoo!"
profile.method = "none" profile.method = "none"
......
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