Commit graph

7 commits

Author SHA1 Message Date
Miepee 119bce6269 Use final path for desktop file replacement
Fixes #34
2022-11-09 12:12:43 +01:00
Miepee 56d7dd2d36 Fix wrapper unable to find the runner for real
Fix #32
2022-09-30 10:15:36 +02:00
Miepee d378132085 change way of executing unwrapped runner. 2022-09-29 21:39:37 +02:00
Miepee d34314b707 Comment out patchelf instructions, make moving of hidden files work 2022-09-29 14:32:42 +02:00
Miepee df69e1a369
Fix formatting, make appimage work (#31) 2022-08-14 23:53:03 +02:00
Ivv 3e2121c854
Patch out insecure dependencies and add NixOS instructions (#30)
* 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
2022-08-14 23:24:49 +02:00
Miepee 7d180c1dad
Rewrite patcher in Bash (#29)
* 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>
2022-08-11 20:08:01 -05:00