1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

standalone vue-devtools

This commit is contained in:
2022-04-27 18:23:05 +02:00
parent 350d53642e
commit 0821586bb3
6 changed files with 73 additions and 20 deletions

View File

@ -0,0 +1,12 @@
import { ipcRenderer } from 'electron';
export function ipcShortcuts ({ store }) {
ipcRenderer.on('toggle-preferences', () => {
store.application.showSettingModal('general');
});
ipcRenderer.on('open-updates-preferences', () => {
store.application.showSettingModal('update');
ipcRenderer.send('check-for-updates');
});
}