windows-installer
windows-installer copied to clipboard
You must install both Mono and Wine on non-Windows
Thanks for your awesome lib.
I notice in src/index.js line 23 - 30
const monoExe = 'mono';
const wineExe = 'wine';
if (process.platform !== 'win32') {
useMono = true;
if (!wineExe || !monoExe) {
throw new Error('You must install both Mono and Wine on non-Windows');
}
...
}
!wineExe || !monoExe
will always be false, it's dead codes!
You must install both Mono and Wine on non-Windows
is really important for non-windows users. Or you can add this in README.
BTW, I find this change from this PR