1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-21 20:52:11 +01:00

show window menu also on Windows

This commit is contained in:
rhysd 2017-04-17 14:58:08 +09:00
parent b23723ecf3
commit b9f2155ded

View File

@ -21,6 +21,11 @@ export class App {
}
open() {
if (!IS_DARWIN) {
// Users can still access menu bar with pressing Alt key.
this.winsetMenu(Menu.getApplicationMenu());
}
this.win.webContents.on('dom-ready', () => {
this.win.show();
});