1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-27 17:00:52 +01:00

Fixed icons

This commit is contained in:
Feenix 2022-08-24 08:01:43 +05:30
parent ab1b8faab1
commit a3c901b38e
4 changed files with 4 additions and 9 deletions

BIN
main/build/icon.icns Normal file

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

@ -27,8 +27,9 @@ let mainWindow;
app.on("ready", async () => { app.on("ready", async () => {
await prepareNext("./renderer"); await prepareNext("./renderer");
console.log("ICON: ", join(__dirname, "icon.png"));
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
icon: join(__dirname, "/build/icon.png"), icon: join(__dirname, "build", "icon.png"),
width: 1100, width: 1100,
height: 700, height: 700,
minHeight: 500, minHeight: 500,

View File

@ -41,13 +41,6 @@
"appId": "com.tgs963.upscayl", "appId": "com.tgs963.upscayl",
"asar": true, "asar": true,
"extraFiles": [ "extraFiles": [
{
"from": "constants",
"to": "constants",
"filter": [
"**/*"
]
},
{ {
"from": "resources/${os}/bin", "from": "resources/${os}/bin",
"to": "Resources/bin", "to": "Resources/bin",
@ -65,7 +58,8 @@
], ],
"asarUnpack": [ "asarUnpack": [
"**/node_modules/sharp/**" "**/node_modules/sharp/**"
] ],
"icon": "build/icon.png"
}, },
"files": [ "files": [
"main", "main",