diff options
author | Janek Bevendorff <janek@jbev.net> | 2017-02-09 23:35:17 +0300 |
---|---|---|
committer | Janek Bevendorff <janek@jbev.net> | 2017-02-10 03:55:09 +0300 |
commit | d1b403333cb4b3c9056abfc3e6704b911dba33d9 (patch) | |
tree | c6a5a4f91cab548e9760397c19cc2a530615e7d0 /AppImage-Recipe.sh | |
parent | 6c45fcbfc740ea8bf23e408d8f9f5d0597a63f36 (diff) |
Unset XDG_DATA_DIRS before launching app, resolves #194, reverts #273
Diffstat (limited to 'AppImage-Recipe.sh')
-rwxr-xr-x | AppImage-Recipe.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/AppImage-Recipe.sh b/AppImage-Recipe.sh index ba47e1b2d..2459bfcc1 100755 --- a/AppImage-Recipe.sh +++ b/AppImage-Recipe.sh @@ -74,6 +74,11 @@ cat << EOF > ./usr/bin/keepassxc_env #export QT_QPA_PLATFORMTHEME=gtk2 export LD_LIBRARY_PATH="../opt/qt58/lib:\${LD_LIBRARY_PATH}" export QT_PLUGIN_PATH="..${QT_PLUGIN_PATH}" + +# unset XDG_DATA_DIRS to make tray icon work in Ubuntu Unity +# see https://github.com/probonopd/AppImageKit/issues/351 +unset XDG_DATA_DIRS + exec keepassxc "\$@" EOF chmod +x ./usr/bin/keepassxc_env |