Skip to content

Commit

Permalink
add chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
GuglioIsStupid committed Apr 11, 2024
1 parent 02f8ae0 commit d51d16d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,15 @@ switch: lovefile
rm -r build/$(GameName)-switch/romfs
rm build/$(GameName)-switch/Rit.nacp

appimage:
appimage: lovefile
rm -rf build/$(GameName)-appimage
mkdir -p "build/$(GameName)-appimage"

chmod +x ./requirements/appimage/appimagetool-x86_64.AppImage
./requirements/appimage/love.AppImage --appimage-extract
cat ./requirements/appimage/squashfs-root/bin/love build/$(GameName)-lovefile/$(GameName).love > ./requirements/appimage/squashfs-root/bin/love

#repackage with appimagetool-x86_64.AppImage
chmod +x ./requirements/appimage/squashfs-root/bin/love
./requirements/appimage/appimagetool-x86_64.AppImage ./requirements/appimage/squashfs-root/ build/$(GameName)-appimage/$(GameName).AppImage
rm -rf ./requirements/appimage/squashfs-root

Expand Down

0 comments on commit d51d16d

Please sign in to comment.