Patch desktop integration script so that it finds the keepassxc.png icons

This commit is contained in:
Janek Bevendorff 2017-01-29 21:40:47 +01:00
parent 1da87d1d19
commit 2b18089641
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -72,6 +72,10 @@ chmod +x ./usr/bin/keepassxc_env
sed -i 's/Exec=keepassxc/Exec=keepassxc_env/' keepassxc.desktop
get_desktopintegration $LOWERAPP
# patch desktop integration script so it finds the keepassxc.png icons
# see https://github.com/probonopd/AppImageKit/issues/341
sed -i 's/-wholename "\*\/apps\/\${APP}.png"/-wholename "*\/apps\/keepassxc.png"/' ./usr/bin/keepassxc_env.wrapper
GLIBC_NEEDED=$(glibc_needed)
cd ..