Fix app icon: use rcedit afterPack hook to embed custom icon in EXE

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-03 03:17:47 +01:00
co-authored by Claude Opus 4.6
parent 4585db0281
commit 9ac557b0a8
3 changed files with 149 additions and 27 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
{
"name": "real-debrid-downloader",
"version": "1.5.48",
"version": "1.5.49",
"description": "Real-Debrid Downloader Desktop (Electron + React + TypeScript)",
"main": "build/main/main/main.js",
"author": "Sucukdeluxe",
@@ -36,6 +36,7 @@
"cross-env": "^7.0.3",
"electron": "^31.7.7",
"electron-builder": "^25.1.8",
"rcedit": "^5.0.2",
"tsup": "^8.3.6",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
@@ -72,6 +73,7 @@
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true
}
},
"afterPack": "scripts/afterPack.cjs"
}
}