From 357f70d59a7206412c5d7442b6cd52fe405e1bc5 Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Sun, 6 May 2018 11:06:40 +0200 Subject: [PATCH] Set correct working directory when running appimage Which means relative paths now work properly --- appimage/wrapper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appimage/wrapper b/appimage/wrapper index 2a634c1..06dad9f 100755 --- a/appimage/wrapper +++ b/appimage/wrapper @@ -1,4 +1,6 @@ #!/bin/sh # For some reason this runs from the usr subdirectory -exec ../love "$@" +APPIMAGE_DIR="${PWD}/.." +cd "$OWD" +exec "${APPIMAGE_DIR}/love" "$@"