diff --git a/ports/catwarrior/Cat Warrior.sh b/ports/catwarrior/Cat Warrior.sh index 63e226dc8a..c5d70546ef 100644 --- a/ports/catwarrior/Cat Warrior.sh +++ b/ports/catwarrior/Cat Warrior.sh @@ -22,6 +22,9 @@ source $controlfolder/tasksetter GAMEDIR="/$directory/ports/catwarrior" cd "$GAMEDIR/gamedata" +# Log the execution of the script, the script overwrites itself on each launch +> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 + # Setup mono monodir="$HOME/mono" monofile="$controlfolder/libs/mono-6.12.0.122-aarch64.squashfs" @@ -30,7 +33,6 @@ $ESUDO umount "$monofile" || true $ESUDO mount "$monofile" "$monodir" # Setup savedir linux -mkdir -p "$GAMEDIR/savedata" bind_directories "$HOME/.local/share/tiny_slash" "$GAMEDIR/savedata" # Remove all the dependencies in favour of system libs - e.g. the included @@ -47,7 +49,7 @@ export FNA3D_OPENGL_FORCE_VBO_DISCARD=1 $GPTOKEYB "mono" & pm_platform_helper "mono" -$TASKSET mono tiny_slash.exe 2>&1 | tee /dev/tty0 $GAMEDIR/log.txt +$TASKSET mono tiny_slash.exe # Cleanup any running gptokeyb instances, and any platform specific stuff. pm_finish diff --git a/ports/catwarrior/port.json b/ports/catwarrior/port.json index 1fa9f6f737..19a1ed28e9 100644 --- a/ports/catwarrior/port.json +++ b/ports/catwarrior/port.json @@ -24,8 +24,6 @@ "exp": false, "runtime": "mono-6.12.0.122-aarch64.squashfs", "reqs": [], - "arch": [ - "aarch64" - ] + "arch": [] } } \ No newline at end of file