mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 07:05:40 +00:00
AppImage: Fix launching relative paths
This commit is contained in:
parent
819b27a1a1
commit
a5585f047c
|
@ -292,8 +292,8 @@ echo "Creating AppRun..."
|
|||
cat > "$OUTDIR/AppRun" << EOF
|
||||
#!/bin/sh
|
||||
|
||||
cd "\$(dirname "\$0")"
|
||||
exec ./usr/bin/$BINARY "\$@"
|
||||
APPDIR=\$(dirname "\$0")
|
||||
exec "\$APPDIR/usr/bin/$BINARY" "\$@"
|
||||
EOF
|
||||
chmod +x "$OUTDIR/AppRun"
|
||||
|
||||
|
|
Loading…
Reference in a new issue