feat: add autostart toggle setting

This commit is contained in:
PandaDEV 2025-01-02 18:41:28 +10:00
parent 6d7874c1ae
commit 3bfd72b638
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
7 changed files with 11 additions and 16 deletions

View file

@ -12,14 +12,6 @@ export default defineNuxtPlugin(() => {
async saveSetting(key: string, value: string): Promise<void> {
await invoke<void>("save_setting", { key, value });
},
async getKeybind(): Promise<string[]> {
return await invoke<string[]>("get_keybind");
},
async saveKeybind(keybind: string[]): Promise<void> {
await invoke<void>("save_keybind", { keybind });
},
},
},
};