|
|
@@ -50,7 +50,8 @@ export function setTitlebar(win: BrowserWindow, theme: Partial<TitlebarTheme> =
|
|
|
|
|
|
export function setDockIcon() {
|
|
|
if (process.platform !== "darwin") return
|
|
|
- app.dock?.setIcon(nativeImage.createFromPath(join(iconsDir(), "[email protected]")))
|
|
|
+ const icon = nativeImage.createFromPath(join(iconsDir(), "dock.png"))
|
|
|
+ if (!icon.isEmpty()) app.dock?.setIcon(icon)
|
|
|
}
|
|
|
|
|
|
export function createMainWindow(globals: Globals) {
|