fix review comments

This commit is contained in:
Julen Garcia Leunda
2019-11-26 16:59:10 +01:00
parent 38390405dc
commit 2b8fa8b6fe
2 changed files with 5 additions and 4 deletions

View File

@@ -33,11 +33,12 @@ function init () {
win.loadURL(config.WINDOW_ABOUT)
// No menu on the About window
win.setMenu(null)
win.once('ready-to-show', function () {
win.show()
// No menu on the About window
// Hack: BrowserWindow removeMenu method not working on electron@7
// https://github.com/electron/electron/issues/21088
win.setMenuBarVisibility(false)
})
win.once('closed', function () {

View File

@@ -34,6 +34,6 @@
(<script>document.write(require('webtorrent/package.json').version)</script>)
(<script>document.write(process.arch === 'x64' ? '64-bit' : '32-bit')</script>)
</p>
<p><script>document.write(require('../src/config').APP_COPYRIGHT)</script></p>
<p><script>document.write(require('../build/config').APP_COPYRIGHT)</script></p>
</body>
</html>