Fix Darwin Nix desktop app icon (#2783)
* Fix Darwin Nix desktop app icon * Refresh Darwin Nix bundle identity
This commit is contained in:
@@ -42,6 +42,8 @@ mac:
|
||||
extraResources:
|
||||
- from: bin/paseo
|
||||
to: bin/paseo
|
||||
- from: assets/icon.png
|
||||
to: icon.png
|
||||
target:
|
||||
- dmg
|
||||
- zip
|
||||
|
||||
@@ -651,8 +651,8 @@ function applyAppIcon(): void {
|
||||
return;
|
||||
}
|
||||
|
||||
const iconPath = path.resolve(__dirname, "../assets/icon.png");
|
||||
if (!existsSync(iconPath)) {
|
||||
const iconPath = getWindowIconPath();
|
||||
if (!iconPath) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user