fix: disable default menu browser reloads and implement Change Image workspace resetter
This commit is contained in:
@@ -22,6 +22,7 @@ function createWindow() {
|
||||
});
|
||||
|
||||
mainWindow.loadFile(path.join(__dirname, 'index.html'));
|
||||
mainWindow.setMenu(null); // Disable default menu and browser shortcuts (F5, F11, Ctrl+F5) to act as a proper native application.
|
||||
|
||||
// Open DevTools if running in dev (optional)
|
||||
// mainWindow.webContents.openDevTools();
|
||||
|
||||
Reference in New Issue
Block a user