mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-08 02:52:07 +08:00
feat: implement lightweight mode functionality and update related settings
This commit is contained in:
@@ -324,3 +324,11 @@ export const getAppUptime = async () => {
|
||||
export const installService = async () => {
|
||||
return invoke<void>("install_service");
|
||||
};
|
||||
|
||||
export const entry_lightweight_mode = async () => {
|
||||
return invoke<void>("entry_lightweight_mode");
|
||||
}
|
||||
|
||||
export const exit_lightweight_mode = async () => {
|
||||
return invoke<void>("exit_lightweight_mode");
|
||||
}
|
||||
Vendored
-1
@@ -739,7 +739,6 @@ interface IVergeConfig {
|
||||
tun_tray_icon?: boolean;
|
||||
enable_tray_speed?: boolean;
|
||||
enable_tun_mode?: boolean;
|
||||
enable_lite_mode?: boolean;
|
||||
auto_enter_lite_mode?: boolean;
|
||||
auto_enter_lite_mode_delay?: number;
|
||||
enable_auto_launch?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user