Make tun2socks the default TUN engine

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2026-10-06 23:56:39 +08:00
parent 30a202c833
commit 79ab0b146a
6 changed files with 31 additions and 14 deletions
+3 -3
View File
@@ -50,11 +50,11 @@ SYSTEM_PROXY_MODE_OPTIONS = (
)
registerAppSettings('VPNMode', isBinary=True)
# A missing preference, including upgrades from 0.8.2, deliberately selects
# sing-tun. VPNMode remains independent: choosing an engine does not enable TUN.
# A missing preference, including upgrades from 0.8.2, selects tun2socks.
# VPNMode remains independent: choosing an engine does not enable TUN.
# 0.8.2 ignores this key and continues using application-managed tun2socks.
registerAppSettings(
APPLICATION_TUN_BACKEND, validRange=list(TUN_BACKENDS), default='sing-tun'
APPLICATION_TUN_BACKEND, validRange=list(TUN_BACKENDS), default='tun2socks'
)
registerAppSettings(
APPLICATION_THEME_SETTING,