Open settings with shortcut (#1655)

* Open settings with shortcut. Also add settings to menubar.
This commit is contained in:
Martín González Gómez
2026-02-07 17:19:05 -06:00
committed by GitHub
parent 7cecd859ae
commit 668de93829
3 changed files with 37 additions and 2 deletions
+5
View File
@@ -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;