fix: prevent duplicate scheduled sends

This commit is contained in:
Rixuan Shao
2026-09-04 19:05:55 +08:00
parent f3e7feacbb
commit 7c7d9c2f79
11 changed files with 193 additions and 34 deletions
+2 -2
View File
@@ -61,11 +61,11 @@ def _douyin_network_mode():
def douyin_network_modes():
# Direct is the default; Mihomo is used only when explicitly selected.
# Direct is the default; Mihomo is the fallback unless explicitly selected.
mode = _douyin_network_mode()
if mode == "mihomo":
return ("mihomo",)
return ("direct",)
return ("direct", "mihomo")
def _douyin_browser_proxy(network_mode=None):