mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-17 09:24:28 -05:00
Fix Exec replacement
This commit is contained in:
parent
94ea91ec63
commit
51ed7a59da
1 changed files with 2 additions and 3 deletions
|
|
@ -74,7 +74,6 @@ get_desktop
|
||||||
get_icon
|
get_icon
|
||||||
cat << EOF > ./usr/bin/keepassxc_env
|
cat << EOF > ./usr/bin/keepassxc_env
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#export QT_QPA_PLATFORMTHEME=gtk2
|
|
||||||
export LD_LIBRARY_PATH="..$(dirname ${QT_PLUGIN_PATH})/lib:\${LD_LIBRARY_PATH}"
|
export LD_LIBRARY_PATH="..$(dirname ${QT_PLUGIN_PATH})/lib:\${LD_LIBRARY_PATH}"
|
||||||
export QT_PLUGIN_PATH="..${QT_PLUGIN_PATH}:\${KPXC_QT_PLUGIN_PATH}"
|
export QT_PLUGIN_PATH="..${QT_PLUGIN_PATH}:\${KPXC_QT_PLUGIN_PATH}"
|
||||||
|
|
||||||
|
|
@ -85,7 +84,7 @@ unset XDG_DATA_DIRS
|
||||||
exec keepassxc "\$@"
|
exec keepassxc "\$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x ./usr/bin/keepassxc_env
|
chmod +x ./usr/bin/keepassxc_env
|
||||||
sed -i 's/Exec=keepassxc/Exec=keepassxc_env/' keepassxc.desktop
|
sed -i 's/Exec=keepassxc/Exec=keepassxc_env/' org.keepassxc.desktop
|
||||||
get_desktopintegration $LOWERAPP
|
get_desktopintegration $LOWERAPP
|
||||||
|
|
||||||
GLIBC_NEEDED=$(glibc_needed)
|
GLIBC_NEEDED=$(glibc_needed)
|
||||||
|
|
@ -94,5 +93,5 @@ cd ..
|
||||||
|
|
||||||
generate_type2_appimage
|
generate_type2_appimage
|
||||||
|
|
||||||
mv ../out/*.AppImage ..
|
mv ../out/*.AppImage ../KeePassXC-${VERSION}-${ARCH}.AppImage
|
||||||
rmdir ../out > /dev/null 2>&1
|
rmdir ../out > /dev/null 2>&1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue