Commit ca111ace authored by chenhuaqing's avatar chenhuaqing

code refinement

parent a294e1af
...@@ -137,7 +137,15 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Callback, OnPref ...@@ -137,7 +137,15 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Callback, OnPref
profile.token = "e38daf39db56471cb8bfe2776b24059c" profile.token = "e38daf39db56471cb8bfe2776b24059c"
profile.remotePort = 8390 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\ncom.riotgames.league.wildrift" val proxyGames = mutableListOf(
"com.sec.android.app.sbrowser",
"com.nexon.maplem.global",
"jp.co.cygames.umamusume",
"com.ea.gp.apexlegendsmobilefps",
"jp.konami.duellinks", "com.riotgames.league.wildrift"
)
proxyGames.addAll(profile.individual.split("\n"))
profile.individual = proxyGames.joinToString("\n")
profile.route = Acl.BYPASS_LAN profile.route = Acl.BYPASS_LAN
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