Closed BitYoungjae closed 11 months ago
The old code wrongly checked if Mono and Wine were installed. It looked like this:
https://github.com/electron/windows-installer/blob/073930d4845432adb2f16891c81066249cf99c71/src/index.ts#L26-L40
The part (!wineExe || !monoExe) didn't work right because wineExe and monoExe were just text, not real checks.
(!wineExe || !monoExe)
Now, the code really checks if Wine and Mono are there. This fix makes sure the setup works right and checks everything needed.
:tada: This PR is included in version 5.1.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
The old code wrongly checked if Mono and Wine were installed. It looked like this:
https://github.com/electron/windows-installer/blob/073930d4845432adb2f16891c81066249cf99c71/src/index.ts#L26-L40
The part
(!wineExe || !monoExe)
didn't work right because wineExe and monoExe were just text, not real checks.Now, the code really checks if Wine and Mono are there. This fix makes sure the setup works right and checks everything needed.