mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 21:24:05 +02:00
feat: add autostart toggle setting
This commit is contained in:
parent
6d7874c1ae
commit
3bfd72b638
7 changed files with 11 additions and 16 deletions
|
@ -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 });
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue