Open aentwist opened 5 months ago
Workaround is this absurd article, a remarkable pages-long effort that just says 'symlink it' :)
sudo ln -s /usr/bin/wine /usr/bin/wine64
https://github.com/electron/windows-installer/pull/530 But your "proposed solution" I like better
Description
The check for wine executable is incorrect. When installing wine, we use the wine metapackage
wine
. It only installs wine64 behind the scenes.https://github.com/electron/windows-installer/blob/937bf3f61ef51a15d5e5fc92dca1af8db96c3aa6/src/index.ts#L38-L53
https://github.com/electron/windows-installer/blob/937bf3f61ef51a15d5e5fc92dca1af8db96c3aa6/src/index.ts#L28-L31
x64
-> check for wine64 -> not found -> failMeanwhile
Expected
npm run make -- --platform win32
no wine or mono errorActual
You must install both Mono and Wine on non-Windows
Proposed Solution
The proposal is to not trouble ourselves with it too much unless there is a real reason we need to make sure 64-bit has 64-bit and 32 has 32. But couldn't a 64-bit user have a 32-bit copy anyway..?
Environment
Debian 12