Skip to content

Commit

Permalink
unify the appId between electron-builder and application
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeDrangon committed Apr 7, 2022
1 parent 8ef1049 commit 65d5f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion electron-builder.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
appId: "pw.electron.android-messages",
appId: "pw.kmr.amd",
artifactName: "${productName}-v${version}-${os}-${arch}.${ext}",
productName: "AndroidMessages",
copyright: "Copyright 2020 Kyle Rosenberg",
Expand Down
6 changes: 1 addition & 5 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ if (IS_MAC) {
});
}

app.on("ready", () => app.setAppUserModelId("pw.kmr.amd"));
app.on("ready", () => {
if (IS_WINDOWS) {
app.setAppUserModelId("pw.kmr.android-messages-desktop");
app.setAsDefaultProtocolClient("android-messages-desktop");
}

trayManager = new TrayManager();

new MenuManager();
Expand Down

0 comments on commit 65d5f3f

Please sign in to comment.