feat: implement lightweight mode functionality and update related settings

This commit is contained in:
Tunglies
2025-03-20 03:23:14 +08:00
parent e31f176c25
commit 91ccb3045c
21 changed files with 104 additions and 126 deletions

View File

@@ -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");
}