Closed AbuDawood closed 1 year ago
The problem is related to electron-builder bug which they used the pattern directly instead of expanding macro the issue was solved starting from version 24.7.0 NB: do not forget to remove dependencies cache of electron-builder to redownload the compatible dependencies again remove all folders in C:\Users{YOU}\AppData\Local\electron-builder\Cache
Steps to reproduce
use marco pattern in directories "directories": { "output": "releases/${platform}" },
call npm run electron:build in windows host code
the resulted package files are copied into releases/win32 folder however it also create ${platform} and copies .icon-ico folder that contains icon.ico there
✔️ Expected Behavior
${platform} should not created and all the package files must be copied into translated marco that is win32 folder including the .icon-ico
🔍 Additional context
Windows 11 and also tested in docker windows server image