mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
Open settings with shortcut (#1655)
* Open settings with shortcut. Also add settings to menubar.
This commit is contained in:
committed by
GitHub
parent
7cecd859ae
commit
668de93829
@@ -61,6 +61,10 @@ const forceGarbageCollection = (): boolean => {
|
||||
}
|
||||
};
|
||||
|
||||
const rendererOpenSettings = (cb: (event: IpcRendererEvent) => void) => {
|
||||
ipcRenderer.on('renderer-open-settings', cb);
|
||||
};
|
||||
|
||||
export const utils = {
|
||||
checkForUpdates,
|
||||
disableAutoUpdates,
|
||||
@@ -74,6 +78,7 @@ export const utils = {
|
||||
openApplicationDirectory,
|
||||
openItem,
|
||||
playerErrorListener,
|
||||
rendererOpenSettings,
|
||||
};
|
||||
|
||||
export type Utils = typeof utils;
|
||||
|
||||
Reference in New Issue
Block a user