Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage does not run when invoked in unpacked form #592

Closed
probonopd opened this issue Jul 17, 2016 · 0 comments · May be fixed by qcif/data-curator#563
Closed

AppImage does not run when invoked in unpacked form #592

probonopd opened this issue Jul 17, 2016 · 0 comments · May be fixed by qcif/data-curator#563

Comments

@probonopd
Copy link

probonopd commented Jul 17, 2016

  • Version: head
  • Target: Linux AppImage

Looks like the following code in your AppRun script

APP=$(echo "$DESKTOP_FILE_NAME" | sed -e 's/.desktop//g')
BIN="$APPDIR/usr/bin/$APP"

isn't working when run from the AppDir rather than the AppImage because in this case the variable $APPDIR is not set. However, it is safe to assume that $APPDIR is the directory in which AppRun is located. Hence, please determine The variable $APPDIR by something like

APPDIR=$(dirname $(readlink -f "${0}"))

Let me know if you want me to send a PR.

@develar develar changed the title AppImage oes not run when invoked in unpacked form AppImage does not run when invoked in unpacked form Aug 2, 2016
@develar develar closed this as completed in 9731225 Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant