Set correct working directory when running appimage
Which means relative paths now work properly
This commit is contained in:
parent
ad4b606b5a
commit
357f70d59a
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# For some reason this runs from the usr subdirectory
|
# For some reason this runs from the usr subdirectory
|
||||||
exec ../love "$@"
|
APPIMAGE_DIR="${PWD}/.."
|
||||||
|
cd "$OWD"
|
||||||
|
exec "${APPIMAGE_DIR}/love" "$@"
|
||||||
|
|
Loading…
Reference in a new issue