From 6d05f2f7e116b51417d5e47c58d25d203b19aa4d Mon Sep 17 00:00:00 2001 From: lemniskett Date: Tue, 15 Dec 2020 14:28:17 +0700 Subject: [PATCH] Remove TryExec= from desktop entries. --- archbox-desktop.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archbox-desktop.bash b/archbox-desktop.bash index 7c86786..7ec9188 100755 --- a/archbox-desktop.bash +++ b/archbox-desktop.bash @@ -9,6 +9,7 @@ install_desktop(){ && cp $CHROOT/$(archbox readlink /usr/share/applications/$i) ~/.local/share/applications/archbox \ || cp $CHROOT/usr/share/applications/$i ~/.local/share/applications/archbox sed -i 's/Exec=/Exec=archbox\ /g' ~/.local/share/applications/archbox/$i + sed -1 '/TryExec=/d' ~/.local/share/applications/archbox/$i done } @@ -44,6 +45,7 @@ case $1 in ;; *) checkdep zenity + checkdep sed list_desktop="$(archbox ls --color=none -1 /usr/share/applications)" zenity_entry="$(echo $list_desktop | sed 's/\ /\ FALSE\ /g')" selected_entry=$(zenity --list --checklist --height=500 --width=450 \