feat: custom hotkey with global shortcut

This commit is contained in:
PandaDEV 2024-11-15 17:39:20 +10:00
parent 02becca60d
commit ba743f7961
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
7 changed files with 774 additions and 297 deletions

View file

@ -11,12 +11,14 @@ import { onMounted } from 'vue'
onMounted(async () => {
await listen('change_keybind', async () => {
console.log("change_keybind");
await navigateTo('/keybind')
await app.show();
await window.getCurrentWindow().show();
})
await listen('main_route', async () => {
console.log("main_route");
await navigateTo('/')
})
})