11.5 AppImages don't work
Generating AppImages for LOVE 11.5 doesn't work.
The reason for this appears to be that makelove fuses the .love file to the bin/love binary and renames it to bin/{game_name}, like so: https://github.com/pfirsich/makelove/blob/f192818e9845683d55dbf40e0415e1cf978524e9/makelove/linux.py#L167
However, the AppRun script inside 11.5 appimages is specifically looking for bin/love : https://github.com/love2d/love-appimage-source/blob/a945d735c61c82214f1fa4b803d2cae19432ba22/love.sh#L30
So running a built 11.5 appimage simply results in a "bin/love: No such file or directory" error.
There are certain ways to fuse with 11.5 AppImage (for maintainers):
- Fuse as you'd do in Windows. Note that you have to change the executable target from
bin/lovetobin/yourgame. - Put your yourgame.love in
sharefolder (or extract it inshare/yourgamedirectory) then uncomment and change theFUSE_PATHvariable to$APPDIR/share/yourgame.loveor$APPDIR/share/yourgame.
As for the original AppRun script itself, I think it can be improved by reading the Exec= in the .desktop file. Patches welcome.
I was responsible of managing the AppImage build script and the AppRun was changed inbetween 11.4 and 11.5 from C program to simple shell script. Sorry for the inconvenience.
@MikuAuahDark thanks! I did point 1 and that was enough to solve the issue.
Hello and thank you for your work on this.
I bumped onto this issue too and while I'm at it, I tried to see if I could patch it.
I'm pretty sure my approach is not good but with some guidance I think it would be nice to fix that.