Code: Select all
$ love-11.1-linux-x86_64.AppImage game.love
Code: Select all
Error: [string "boot.lua"]:481: Cannot load game at path '/tmp/.mount_AjgSUk/usr/game.love'
Make sure a folder exists at the specified path.
This doesn't play well with my current build system. I can probably fix this with a shell script, but it would be nice if it worked out of the box and showed the same behavior as when using a vanilla installation. I don't know jack about AppImages, but the above links seem to suggest it can be fixed when building the image.
If there is another quick solution other than writing a script to expand the path, I'd love to know.
Edit: here's the solution I came up with (requires bash):
Code: Select all
#!/bin/bash
GAME="$(readlink -f ${@: -1})"
set -- "${@:1:$(($#-1))}"
love-11.1-linux-x86_64.AppImage $@ $GAME