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:
12
src/renderer/stores/plugins/ipcShortcuts.js
Normal file
12
src/renderer/stores/plugins/ipcShortcuts.js
Normal 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');
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user