* Patch out insecure dependencies and add NixOS instructions
This commit uses `patchelf` to remove the dependency on OpenSSL 1.0,
which is outdated and considered insecure. It replaces this dependency
with libcurl, of which the latest version works just fine.
This should make sure that any distrobution can run the generated binary
out of the box, without needing a dynamically linked placeholder.
I also noticed the game failed to start on my AMD machine, and after looking
through Mesa's Gitlab I found a workaround using an environment variable.
A wrapper bash script that sets this variable and executes the `runner` binary
is created to take care of this automatically.
This commit adds instructions on how to run the game on NixOS as well.
* readme: gramar fixes
* patcher: fix syntax error
* readme: add some codeblocks
* Add shell patcher
* Readme changes, exclude apk from git, slight android cleanage
* Implement review suggestions
- put main routine into seperate function
- use locals
- make some input access safe
- use tempdir for appimage creation
- check whether Java / xdelta is installed
- print errors to stderr
- Improve APK creation by copying less, and using tempDirs
Co-Authored-By: Ivv <41924494+ivarwithoutbones@users.noreply.github.com>
* Applied more review comments
- mention the new dependencies
- make linux default OS
- make patcher not create in a subdir into prefix with local
- change return to exit for non-0
- better indicate arguments
- remove unneded dirs from cleaning
Co-Authored-By: Ivv <41924494+ivarwithoutbones@users.noreply.github.com>
* Fixes mostly android bugs
- Removed credits
- make android builds not have unnecessary assets
- fix "is-installed" check
- Make android properly ignore systemwide
* Some more slight cleanups
- rename OUTPUT to GAMEDIR to be more understandable
* Fix application icon not being according to XDG in systemwide install
* Make accidental deletion of important folders impossible
Co-authored-by: Ivv <41924494+ivarwithoutbones@users.noreply.github.com>