mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 22:50:05 +08:00
Antizapret (#548)
* Refactor rule provider selection * Add L11R/antizapret-sing-box-geo rules provider --------- Co-authored-by: purofle <purofle@gmail.com>
This commit is contained in:
parent
89ef91cebe
commit
04f8dd4ba8
@ -261,6 +261,9 @@ class AssetsActivity : ThemedActivity() {
|
||||
RuleAssetsProvider(
|
||||
"Chocolate4U/Iran-sing-box-rules"
|
||||
),
|
||||
RuleAssetsProvider(
|
||||
"L11R/antizapret-sing-box-geo"
|
||||
),
|
||||
)
|
||||
|
||||
suspend fun updateAsset(file: File, versionFile: File, localVersion: String) {
|
||||
|
||||
@ -364,6 +364,7 @@
|
||||
<item>@string/route_rules_official</item>
|
||||
<item>Loyalsoldier (soffchen/sing-geosite)</item>
|
||||
<item>Chocolate4U/Iran-sing-box-rules</item>
|
||||
<item>L11R/Antizapret-sing-box-geo</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="balancer_type">
|
||||
|
||||
@ -127,7 +127,7 @@
|
||||
<moe.matsuri.nb4a.ui.SimpleMenuPreference
|
||||
app:defaultValue="0"
|
||||
app:entries="@array/rules_dat_provider"
|
||||
app:entryValues="@array/int_array_3"
|
||||
app:entryValues="@array/int_array_4"
|
||||
app:icon="@drawable/ic_baseline_rule_folder_24"
|
||||
app:key="rulesProvider"
|
||||
app:title="@string/route_rules_provider"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user