Skip to content

Commit

Permalink
Small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTrueno committed Nov 3, 2024
1 parent fc36a39 commit e6e3002
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 4 additions & 2 deletions ports/catwarrior/Cat Warrior.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 1 addition & 3 deletions ports/catwarrior/port.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
"exp": false,
"runtime": "mono-6.12.0.122-aarch64.squashfs",
"reqs": [],
"arch": [
"aarch64"
]
"arch": []
}
}

0 comments on commit e6e3002

Please sign in to comment.