We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417125a commit 2a1966bCopy full SHA for 2a1966b
renderer.js
@@ -447,6 +447,14 @@ function showBasetuneWarning()
447
var select = document.getElementById('basetunesSelect');
448
selectedTune = select.options[select.selectedIndex];
449
450
+ // auto hide menu bar (Win, Linux)
451
+ warningWindow.setMenuBarVisibility(false);
452
+ warningWindow.setAutoHideMenuBar(true);
453
+
454
+ // remove completely when app is packaged (Win, Linux)
455
+ if (remote.app.isPackaged) {
456
+ warningWindow.removeMenu();
457
+ }
458
459
board = selectedTune.dataset.board
460
warningWindow.loadURL(`file://${__dirname}/warning.html?board=` + board);
0 commit comments