mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
13 lines
385 B
JavaScript
13 lines
385 B
JavaScript
import { ipcRenderer } from 'electron';
|
|
|
|
export default store => {
|
|
ipcRenderer.on('toggle-preferences', (event, error) => {
|
|
store.dispatch('application/showSettingModal', 'general');
|
|
});
|
|
|
|
ipcRenderer.on('open-updates-preferences', (event, error) => {
|
|
store.dispatch('application/showSettingModal', 'update');
|
|
ipcRenderer.send('check-for-updates');
|
|
});
|
|
};
|