diff --git a/main/build/icon.icns b/main/build/icon.icns new file mode 100644 index 0000000..a1c4a6f Binary files /dev/null and b/main/build/icon.icns differ diff --git a/build/icon.png b/main/build/icon.png similarity index 100% rename from build/icon.png rename to main/build/icon.png diff --git a/main/index.js b/main/index.js index d65bf3d..db5eeee 100644 --- a/main/index.js +++ b/main/index.js @@ -27,8 +27,9 @@ let mainWindow; app.on("ready", async () => { await prepareNext("./renderer"); + console.log("ICON: ", join(__dirname, "icon.png")); mainWindow = new BrowserWindow({ - icon: join(__dirname, "/build/icon.png"), + icon: join(__dirname, "build", "icon.png"), width: 1100, height: 700, minHeight: 500, diff --git a/package.json b/package.json index bc35842..4db74cd 100644 --- a/package.json +++ b/package.json @@ -41,13 +41,6 @@ "appId": "com.tgs963.upscayl", "asar": true, "extraFiles": [ - { - "from": "constants", - "to": "constants", - "filter": [ - "**/*" - ] - }, { "from": "resources/${os}/bin", "to": "Resources/bin", @@ -65,7 +58,8 @@ ], "asarUnpack": [ "**/node_modules/sharp/**" - ] + ], + "icon": "build/icon.png" }, "files": [ "main",