electron: Generate icns icon for macOS apps
This commit is contained in:
1 parent
be3fd4f74b
commit
751a5f66da
1 file changed
+3
@@ -672,6 +672,9 @@ cd "$(dirname "$0")"
|
||||
for (const type of HELPERS) {
|
||||
await this.updatePlistInZip(zip, `${contentsPrefix}Frameworks/Electron Helper${type}.app/Contents/Info.plist`);
|
||||
}
|
||||
|
||||
const icns = await pngToAppleICNS(icon);
|
||||
zip.file(`${contentsPrefix}Resources/electron.icns`, icns);
|
||||
}
|
||||
|
||||
return zip;
|
||||
|
||||
Reference in new issue
Block a user