mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-14 23:20:57 +08:00
Revert "feat(settings): add auto-launch on system startup feature"
This reverts commit ba336fc416.
Reason: Found issues that need to be addressed before reintroducing
the auto-launch feature. Will reimplement with fixes.
This commit is contained in:
@@ -107,12 +107,4 @@ export const settingsApi = {
|
||||
}
|
||||
await invoke("open_external", { url });
|
||||
},
|
||||
|
||||
async setAutoLaunch(enabled: boolean): Promise<boolean> {
|
||||
return await invoke("set_auto_launch", { enabled });
|
||||
},
|
||||
|
||||
async getAutoLaunchStatus(): Promise<boolean> {
|
||||
return await invoke("get_auto_launch_status");
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user