Add Whatsapp app

pull/198/head
Botspot 4 years ago
parent 581e3d2407
commit 69150fbfa7

@ -0,0 +1,3 @@
apps compiled using Nativefier and scripts written by Itai-Nelken
Nativefier made by jiahaog.
thanks to Botspot for help with debugging the menu shortcut and for creating pi-apps!

@ -0,0 +1,7 @@
Nativefier Whatsapp Web webapp
a simple Whatsapp Web chromium webapp wrapped in electron with nativefier.
it has a tray icon, so it doesn't take space on the taskbar, but keeps running in the background.
to run:
menu>internet>Whatsapp Web

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

@ -0,0 +1,24 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
wget https://github.com/Itai-Nelken/Nativefier-Whatsapp-Web/releases/download/v1.0/WhatsAppWeb-linux-armv7l.tray.tar.xz || error 'Failed to download!'
tar -xf WhatsAppWeb-linux-armv7l.tray.tar.xz || error "Failed to extract!"
rm WhatsAppWeb-linux-armv7l.tray.tar.xz
mv "WhatsAppWeb-linux-armv7l(tray)" WhatsAppWeb
echo "[Desktop Entry]
Name=Whatsapp Web
Comment=Nativefier Whatsapp Web webapp.
Exec=$HOME/WhatsAppWeb/WhatsAppWeb
Path=$HOME/WhatsAppWeb
Icon=$(dirname "$0")/icon-64.png
Terminal=false
StartupNotify=true
Type=Application
Categories=Network;" > ~/.local/share/applications/whatsappweb.desktop || error "Failed to create menu button!"

@ -0,0 +1,25 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
wget https://github.com/Itai-Nelken/Nativefier-Whatsapp-Web/releases/download/v1.0/WhatsAppWeb-linux-arm64.tray.tar.xz || error 'Failed to download!'
tar -xf WhatsAppWeb-linux-arm64.tray.tar.xz || error "Failed to extract!"
rm WhatsAppWeb-linux-arm64.tray.tar.xz
mv "WhatsAppWeb-linux-arm64(tray)" WhatsAppWeb
echo "[Desktop Entry]
Name=Whatsapp Web
Comment=Nativefier Whatsapp Web webapp.
Exec=$HOME/WhatsAppWeb/WhatsAppWeb
Path="$HOME/WhatsAppWeb"
Icon=$(dirname "$0")/icon-64.png
Terminal=false
StartupNotify=true
Type=Application
Categories=Network;" > ~/.local/share/applications/whatsappweb.desktop || error "Failed to create menu button!"

@ -0,0 +1,11 @@
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
rm -rf ~/WhatsAppWeb
rm ~/.local/share/applications/whatsappweb.desktop

@ -0,0 +1 @@
https://github.com/Itai-Nelken/Nativefier-Whatsapp-Web
Loading…
Cancel
Save