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

fix waiting for opening a normal window

This commit is contained in:
rhysd 2017-04-16 22:07:23 +09:00
parent eb8719da54
commit d9bc17d321

View File

@ -112,7 +112,6 @@ function startNormalWindow(config: Config): Promise<Electron.BrowserWindow> {
if (IS_DEBUG) {
win.webContents.openDevTools({mode: 'detach'});
}
resolve(win);
});
const normalIcon = trayIcon(config.icon_color);
@ -123,6 +122,8 @@ function startNormalWindow(config: Config): Promise<Electron.BrowserWindow> {
tray.setHighlightMode('never');
app.dock.setIcon(APP_ICON);
}
resolve(win);
});
}