Open repligator opened 2 months ago
MekHQ.sh works at least, it's just a wrapper that points to bin/MekHQ
. The issues with them being non-functional are probably related to #4867. Can you try making it executable and running dos2unix
on it to see if that fixes it for you?
Do they work in one of the nightlies or another action archive?
Sorry it took me so long to respond. I just checked tonight's nightly (https://github.com/MegaMek/mekhq/actions/runs/10968479230) and the startup script runs fine. It looks like this is the same issue as https://github.com/MegaMek/mekhq/issues/4867 . After running dos2unix it works just fine.
Alright. I have an idea of where the issue is just not sure how to solve it just yet.
The scripts themselves are just shells to the bin/ variants so that they use the latest ones from Launch4J so they aren't suppose to have anything else in them. Within the repo they do have the correct line endings and are marked executable.
This is an issue with how the release packages are built as Hammer does them manually (for now) on a Windows machine so the build scripts are doing something to them vs the GH Actions that are all running Linux.
Will see what can be done.
Environment
MHQ 0.50.0 downloaded from here Linux Java 17
Description
MekHQ-0.50.0/MekHQ.sh , MekHQ-0.50.0/MegaMekLab.sh , MekHQ-0.50.0/MegaMek.sh are all 4 lines long. Needless to say, they do not function.