fix icon browser launcher removal

pull/20/head
Botspot 5 years ago
parent 4cc5c03683
commit 9cb93a3346

@ -14,12 +14,9 @@ if [ -z "$(dpkg-query -W --showformat='${Status}\n' yad 2>/dev/null | grep "inst
2>/dev/null || error "User declined."
lxterminal --title="Installing YAD" -e "sudo apt install -y yad;echo -e '\nClosing in 5 seconds.';sleep 5"
lxterminal --title="Installing YAD" -e "sudo apt install -y yad;sudo rm /usr/share/applications/yad-icon-browser.desktop;echo -e '\nClosing in 5 seconds.';sleep 5"
fi
#remove auto-created yad icon browser launcher
sudo rm /usr/share/applications/yad-icon-browser.desktop
echo "Creating menu button..."
echo "[Desktop Entry]
Name=Pi Apps

Loading…
Cancel
Save