Removed deprecated github workflow building using docker
Moved oneshot executable and all shared libraries to lib/, to keep things clean
Set default game dir to .. so it can still read Data/Graphics/Audio/etc
Moved ssl/cacert.pem to lib/cacert.pem to keep things cleaner (also changed SSL_CERT_FILE env var accordingly)
Linux changes
Ditched make-appimage.sh and make-linux-appdir.sh, wrote a custom solution to copy over libraries and set rpath correctly (no need for the clunky appdir format anymore
created symlink oneshot to lib/oneshot so users can run it from the base directory
Changed how the docker container runs dos2unix to make sure CRLF won't interfere with building linux oneshot on windows
Windows changes
Fixed a bug where if you had oneshot.exe in the data folder, it would overwrite the built binary
Added shim executable that basically executes lib/oneshot.exe, so we can put a exe with the right icon in the base directory
The directory structure changes should also be reflected in the github workflows.
After this is merged, you should start using the rkevin/build-oneshot-windows:1.2 and rkevin/build-oneshot-linux:1.2 docker containers. I should probably retag those to the latest tag after this merge.
Note: if there are conflicts with the master branch since I'm making a lot of PRs, you can approve the change and I'll manually merge things in myself.
A lot of changes in this one:
lib/
, to keep things clean..
so it can still read Data/Graphics/Audio/etcssl/cacert.pem
tolib/cacert.pem
to keep things cleaner (also changedSSL_CERT_FILE
env var accordingly)make-appimage.sh
andmake-linux-appdir.sh
, wrote a custom solution to copy over libraries and set rpath correctly (no need for the clunky appdir format anymoreoneshot
tolib/oneshot
so users can run it from the base directoryoneshot.exe
in the data folder, it would overwrite the built binarylib/oneshot.exe
, so we can put a exe with the right icon in the base directoryThe directory structure changes should also be reflected in the github workflows.
After this is merged, you should start using the
rkevin/build-oneshot-windows:1.2
andrkevin/build-oneshot-linux:1.2
docker containers. I should probably retag those to thelatest
tag after this merge.Note: if there are conflicts with the master branch since I'm making a lot of PRs, you can approve the change and I'll manually merge things in myself.