Open hexaheximal opened 1 year ago
👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
I've had a similar issue with wine
not working in our kubernetes/jenkins environment, but wine64
working fine.
I had no control on what electron-builder uses though, so I symlinked wine to wine64 via ln -sf /usr/bin/wine64 /usr/bin/wine
Upstream issue: https://github.com/electron/windows-installer/issues/513
Preflight Checklist
Issue Details
Expected Behavior
With 64-bit WINE installed via apt, it should build without any issues.
Actual Behavior
electron-packager checks for wine64, and fails to find it as debian does not package the wine64 command.
To Reproduce
Create an electron-packager app on Debian 12 (bookworm), install wine, and build for the win32 target.
Additional Information
An easy workaround for this issue is to simply create a wrapper script in the $PATH with the name
wine64
that simply runs the regular wine command and passes the arguments provided to the script.