Add Enable New TUN Feature option

When enabled, TUN will use hev-socks5-tunnel; otherwise, it will use badvpn-tun2socks
This commit is contained in:
2dust
2025-08-04 18:32:16 +08:00
parent b60423d1c0
commit 15de18b736
21 changed files with 176 additions and 25 deletions

View File

@@ -62,6 +62,7 @@ object AppConfig {
const val PREF_IS_BOOTED = "pref_is_booted"
const val PREF_CHECK_UPDATE_PRE_RELEASE = "pref_check_update_pre_release"
const val PREF_GEO_FILES_SOURCES = "pref_geo_files_sources"
const val PREF_USE_HEV_TUNNEL = "pref_use_hev_tunnel"
/** Cache keys. */
const val CACHE_SUBSCRIPTION_ID = "cache_subscription_id"