Skip to content

Commit 78fcd06

Browse files
icon update
1 parent 94fcf2e commit 78fcd06

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

185 KB
Binary file not shown.

desktop/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ function createMainWindow(url, appDir) {
191191
}
192192
});
193193

194+
if (process.platform === "darwin" && electronApp.dock && appIcon) {
195+
electronApp.dock.setIcon(appIcon);
196+
}
197+
194198
mainWindow.webContents.setWindowOpenHandler(({ url: targetUrl }) => {
195199
const externalUrl = safeExternalUrl(targetUrl);
196200
if (!externalUrl) return { action: "deny" };

0 commit comments

Comments
 (0)