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:
parent
b23723ecf3
commit
b9f2155ded
@ -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();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user