mirror of
https://github.com/PreMiD/PreMiD.git
synced 2026-04-06 04:41:58 +02:00
🐛 Icon fix for MacOS
This commit is contained in:
2
pkg.ts
2
pkg.ts
@@ -87,7 +87,7 @@ import * as ora from "ora";
|
||||
|
||||
let icon: string;
|
||||
|
||||
if (response.os == "darwin") icon = "./installer_assets/appIcon.icns";
|
||||
if (response.os == "darwin" || response.os === "current" && platform() === "darwin") icon = "./installer_assets/appIcon.icns";
|
||||
if (["ia32", "x64"].includes(response.arch) || platform() === "win32")
|
||||
icon = "./installer_assets/appIcon.ico";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user