diff --git a/build/icon.icns b/build/icon.icns deleted file mode 100644 index 28644aa9d..000000000 Binary files a/build/icon.icns and /dev/null differ diff --git a/build/icon.ico b/build/icon.ico deleted file mode 100755 index 3ca374f04..000000000 Binary files a/build/icon.ico and /dev/null differ diff --git a/build/icon.png b/build/icon.png deleted file mode 100755 index 3ca374f04..000000000 Binary files a/build/icon.png and /dev/null differ diff --git a/resources/icon.png b/resources/icon.png old mode 100755 new mode 100644 index 3ca374f04..b584bb121 Binary files a/resources/icon.png and b/resources/icon.png differ diff --git a/resources/icon.svg b/resources/icon.svg new file mode 100644 index 000000000..2c5fc35e7 --- /dev/null +++ b/resources/icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/main/index.ts b/src/main/index.ts index 04edb9873..1c4dc424b 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -14,6 +14,8 @@ if (process.defaultApp) { app.setAsDefaultProtocolClient("readok") } +app.dock.setIcon(path.join(__dirname, "../../resources/icon.png")) + // This method will be called when Electron has finished // initialization and is ready to create browser windows. // Some APIs can only be used after this event occurs.