alert on initial hide-menu enabled

This commit is contained in:
Araxeus
2021-10-26 19:07:10 +03:00
parent a47c906ab2
commit 02cb39602f
2 changed files with 14 additions and 1 deletions

View File

@ -348,6 +348,14 @@ app.on("ready", () => {
});
}
if(config.get("options.hideMenu") && !config.get("options.hideMenuWarned")) {
electron.dialog.showMessageBox(mainWindow, {
type: 'info',
title: 'Hide Menu Enabled', message: "Menu is hidden, use 'Alt' to show it (or 'Escape' if using in-app-menu)"
});
config.set("options.hideMenuWarned", true);
}
// Optimized for Mac OS X
if (is.macOS() && !config.get("options.appVisible")) {
app.dock.hide();