Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ class Main implements IMain {
private onAppReady() {
this.registerProtocol()
.then(() => this.createWindow())
.then(() => this.addContextMenu());
.then(() => this.addContextMenu())
.then(() => this.setAppUserModelId());
}

private addContextMenu(): Promise<void> {
Expand Down Expand Up @@ -306,6 +307,12 @@ class Main implements IMain {
}
}

private setAppUserModelId() {
if (process.platform === 'win32') {
app.setAppUserModelId('com.wavesplatform.client.lite');
}
}

private static onAllWindowClosed() {
app.quit();
}
Expand Down