fix: buildLanguageMenu never called

This commit is contained in:
tiddlygit-test 2021-03-19 01:29:55 +08:00
parent 5db1555d30
commit f144a0056e

View file

@ -113,6 +113,8 @@ if (!gotTheLock) {
});
}
await windowService.open(WindowNames.main);
buildLanguageMenu();
// FIXME: this await is never ended
await workspaceViewService.initializeAllWorkspaceView();
ipcMain.emit('request-update-pause-notifications-info');
@ -144,9 +146,6 @@ if (!gotTheLock) {
}
// trigger whenTrulyReady
ipcMain.emit(MainChannel.commonInitFinished);
// build menu at last, this is not noticeable to user, so do it last
buildLanguageMenu();
};
app.on('ready', () => {