mirror of
https://notabug.org/litucks/torzu.git
synced 2025-04-24 09:05:13 +00:00
Tested as working. It is self-contained with no dependencies, uses relative paths, downloads what it needs on the fly, requires the main repo to already be cloned and built for native linux, so it doesn't need to be a separate repo. - Copied the `build.sh` file and `assets` folder into a new `AppImageBuilder` folder on the torzu repo root. - Created a `AppImage-build.sh` shortcut on the repo root that checks if an executable is already in `build/bin`. If it doesn't find one, it prompts the user to build a native version first. If it does find one: - enters the `AppImageBuilder` folder - runs the command `./build.sh ../build ./torzu.AppImage`, using the correct relative path to the build folder (if they followed the build instructions as directed) - moves the resulting `torzu.AppImage` executable back into the main `torzu` folder - returns back to the main folder and shows current directory contents - Added relevant entries to `.gitignore` - Added AppImage section to linux build guide, with some clarifying explanation for Flatpaks, and section separators Co-authored-by: anon <anon@no.reply> Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/78 Co-authored-by: anon <anon@noreply.localhost> Co-committed-by: anon <anon@noreply.localhost>
7 lines
344 B
Bash
Executable File
7 lines
344 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# NOTE: the `ld-linux-aarch64.so.1` filename came from a pi debian 11 installation,
|
|
# this may be incorrect for a different or more up-to-date system.
|
|
# Can find out the correct filename using command "ldd yuzu" on the non-AppImage app
|
|
QT_QPA_PLATFORM=xcb QT_PLUGIN_PATH=. exec ./ld-linux-aarch64.so.1 --library-path . ./yuzu
|