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

XDG_DATA_DIRS is missing when starting AppImage on Fedora 24 #682

Closed
probonopd opened this issue Aug 19, 2016 · 1 comment · May be fixed by qcif/data-curator#563
Closed

XDG_DATA_DIRS is missing when starting AppImage on Fedora 24 #682

probonopd opened this issue Aug 19, 2016 · 1 comment · May be fixed by qcif/data-curator#563

Comments

@probonopd
Copy link

probonopd commented Aug 19, 2016

  • Version: 5.23.2
  • Target: Linux AppImage

The script used as AppRun in electron-builder fails on systems that have no $XDG_DATA_DIRS environment variable set, e.g., Fedora 24.

In AppImageKit, AppRun.c normally sets $XDG_DATA_DIRS so that this is not an issue there, but since AppRun.c from AppImageKit is not used in electron-builder, this needs to be taken care of in the script that electron-builder uses as its AppRun. The best behavior would probably be to set $XDG_DATA_DIRS to $APPDIR/usr/share:$HOME/.local/share:/usr/local/share/:/usr/share, or remove the line that checks for XDG_DATA_DIRS being set.

See
toolkit-for-ynab/unofficial-desktop-for-ynab#1
vercel/hyper#551
AppImage/AppImageKit#208

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.

2 participants