add basic routing options, auto update routing assets,use ruleset, remove geo assets

This commit is contained in:
hiddify-com
2024-07-04 21:04:44 +02:00
parent 93f4bbca32
commit c6d34e7455
27 changed files with 773 additions and 835 deletions

View File

@@ -16,6 +16,8 @@ class SingboxConfigOption with _$SingboxConfigOption {
@JsonSerializable(fieldRename: FieldRename.kebab)
const factory SingboxConfigOption({
required String region,
required bool blockAds,
required bool executeConfigAsIs,
required LogLevel logLevel,
required bool resolveDestination,
@@ -42,8 +44,8 @@ class SingboxConfigOption with _$SingboxConfigOption {
required bool enableFakeDns,
required bool enableDnsRouting,
required bool independentDnsCache,
required String geoipPath,
required String geositePath,
// required String geoipPath,
// required String geositePath,
required List<SingboxRule> rules,
required SingboxMuxOption mux,
required SingboxTlsTricks tlsTricks,