mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 14:16:16 -08:00
fix: macos related window management improvements
This commit is contained in:
1 parent
2ce60e0a20
commit
b336680ec9
1 file changed
+2
@@ -148,6 +148,8 @@ try {
|
||||
// dock icon is clicked and there are no other windows open.
|
||||
if (win === null) {
|
||||
win = createWindow();
|
||||
const menu = new AppMenu(win);
|
||||
Menu.setApplicationMenu(menu.getMenu());
|
||||
api.setMainWindow(win);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user