[Installer] - Better fail checks
xan1242 opened this issue · comments
Installer does NOT work under Wine/Proton because the work directory is wrong.
Secondly, the installer says it succeeded even though it clearly failed because of this.
So this actually seems to be an issue with Wine's command interpreter.
For a 'for' loop, it doesn't accept paths in quotation marks as an argument and it fails instantly. On Windows this works just fine.
for %%f in ("InteractiveMusic/*.asf")
won't do anything
for %%f in (InteractiveMusic/*.asf)
will work
This is very janky anyways and it needs a better way to call the process (instead of issuing the system command) but I guess this will have to do for now.
(I guess this will have to be noted in a Wine bug report if it hadn't been done already)
For MW it was fixed in d22a65e
Carbon is next...
Carbon issues fixed in b7d8535
Next would be to implement better error checks.
Halting this issue until this is resolved: #15
Considering the removal of interactive music means removal of the installer.