Update install-32

pull/963/head
cycool29 4 years ago committed by GitHub
parent 26a4f6fc1b
commit 9836baf745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@ tar -xf WhatsApp-linux-armv7l.tar.xz || error "Failed to extract!"
rm WhatsApp-linux-armv7l.tar.xz rm WhatsApp-linux-armv7l.tar.xz
mv "WhatsApp-linux-armv7l" WhatsApp mv "WhatsApp-linux-armv7l" WhatsApp
#Modify run-whatsapp #Modify run-whatsapp to remove Service Worker before launching WhatsApp
echo "rm -rf $HOME/.config/whats*/Service* && $HOME/WhatsApp/WhatsApp" > WhatsApp/run-whatsapp echo "rm -rf $HOME/.config/whats*/Service* && $HOME/WhatsApp/WhatsApp" > WhatsApp/run-whatsapp
#create menu shortcut #create menu shortcut
@ -22,5 +22,5 @@ echo "[Desktop Entry]
Name=WhatsApp Name=WhatsApp
Type=Application Type=Application
Exec=bash /home/pi/WhatsApp/run-whatsapp Exec=bash /home/pi/WhatsApp/run-whatsapp
Icon=/home/pi/WhatsApp/resources/app/icon.png Icon=$(dirname "$0")/icon-64.png
Categories=Network;Internet" > ~/.local/share/applications/whatsapp.desktop || error "Failed to create menu button!" Categories=Network;Internet" > ~/.local/share/applications/whatsapp.desktop || error "Failed to create menu button!"

Loading…
Cancel
Save