diff --git a/apps/Whatsapp/credits b/apps/Whatsapp/credits new file mode 100644 index 0000000..59b844d --- /dev/null +++ b/apps/Whatsapp/credits @@ -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! diff --git a/apps/Whatsapp/description b/apps/Whatsapp/description new file mode 100644 index 0000000..d873bf1 --- /dev/null +++ b/apps/Whatsapp/description @@ -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 diff --git a/apps/Whatsapp/icon-24.png b/apps/Whatsapp/icon-24.png new file mode 100644 index 0000000..a7c0e6f Binary files /dev/null and b/apps/Whatsapp/icon-24.png differ diff --git a/apps/Whatsapp/icon-64.png b/apps/Whatsapp/icon-64.png new file mode 100644 index 0000000..6bb4786 Binary files /dev/null and b/apps/Whatsapp/icon-64.png differ diff --git a/apps/Whatsapp/install-32 b/apps/Whatsapp/install-32 new file mode 100755 index 0000000..08960b5 --- /dev/null +++ b/apps/Whatsapp/install-32 @@ -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!" diff --git a/apps/Whatsapp/install-64 b/apps/Whatsapp/install-64 new file mode 100755 index 0000000..4b7fc4d --- /dev/null +++ b/apps/Whatsapp/install-64 @@ -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!" + diff --git a/apps/Whatsapp/uninstall b/apps/Whatsapp/uninstall new file mode 100755 index 0000000..79f7ffd --- /dev/null +++ b/apps/Whatsapp/uninstall @@ -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 diff --git a/apps/Whatsapp/website b/apps/Whatsapp/website new file mode 100644 index 0000000..08d18ab --- /dev/null +++ b/apps/Whatsapp/website @@ -0,0 +1 @@ +https://github.com/Itai-Nelken/Nativefier-Whatsapp-Web