This is just a note to any future readers that if they run into the rather perplexing error of "Bad format EXE" while executing a script that this is due to the fact that your WINEARCH and WINEPREFIX variables may be set incorrectly.
Another program I had historically installed caused these to be different hence the issue.
Maybe this can be added to the FAQ for any future readers who may run into same issue.
This is just a note to any future readers that if they run into the rather perplexing error of "Bad format EXE" while executing a script that this is due to the fact that your
WINEARCH
andWINEPREFIX
variables may be set incorrectly.Another program I had historically installed caused these to be different hence the issue.
Maybe this can be added to the FAQ for any future readers who may run into same issue.