feat: additional macos tray event handling option for menu display (#2958)

This commit is contained in:
Mimi
2025-03-13 09:48:49 +08:00
committed by Tunglies
parent 1bef6d085d
commit 124934b012
6 changed files with 40 additions and 19 deletions

View File

@@ -718,7 +718,12 @@ interface IProxyConfig
interface IVergeConfig {
app_log_level?: "trace" | "debug" | "info" | "warn" | "error" | string;
language?: string;
tray_event?: "main_window" | "system_proxy" | "tun_mode" | string;
tray_event?:
| "main_window"
| "tray_menu"
| "system_proxy"
| "tun_mode"
| string;
env_type?: "bash" | "cmd" | "powershell" | "fish" | string;
startup_script?: string;
start_page?: string;