Skip to content

Commit

Permalink
Do symlinking in Celeste instead of patch.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelomer committed Dec 28, 2022
1 parent 1773cae commit c7249a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions Celeste
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ type mono 2>/dev/null >&2 || {
ln -s /usr/lib/aarch64-linux-gnu/liblua5.3.so lib-arm64/liblua53.so
}

[ -e "lib-arm64/libfmod.so.13" ] || {
ln -s libfmod.so.13.6 lib-arm64/libfmod.so.13
ln -s libfmodstudio.so.13.6 lib-arm64/libfmodstudio.so.13
}

[ -f ~/.config/Olympus/config.json -o -d ~/.olympus ] || {
echo "Olympus is missing, it will be installed"
sudo apt update
Expand Down
3 changes: 0 additions & 3 deletions patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,5 @@ mkdir -p "${celeste_dir}/lib-arm64"
cp -H otherlibs/fmodstudioapi20206linux/api/studio/lib/arm64/libfmodstudio.so.13.6 "${celeste_dir}/lib-arm64/libfmodstudio.so.13.6"
cp -H otherlibs/fmodstudioapi20206linux/api/core/lib/arm64/libfmod.so.13.6 "${celeste_dir}/lib-arm64/libfmod.so.13.6"
cp -H otherlibs/*.so* "${celeste_dir}/lib-arm64/"
cd "${celeste_dir}/lib-arm64/"
ln -s libfmodstudio.so.13.6 libfmodstudio.so.13
ln -s libfmod.so.13.6 libfmod.so.13

echo "[+] Successfully patched Celeste"

0 comments on commit c7249a5

Please sign in to comment.