Compare commits

...

4 Commits

Author SHA1 Message Date
Harsh Vyapari
9c49d780cf
Merge 09aea49b2c into e3688e9b3d 2024-10-25 06:45:38 +05:30
Harsh Vyapari
09aea49b2c
Update core/tabs/applications-setup/communication-apps/whatsapp-setup.sh
Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com>
2024-10-20 17:57:44 +05:30
Harsh Vyapari
4671a8c12e
Merge branch 'ChrisTitusTech:main' into whatsapp 2024-10-16 10:22:00 +05:30
harshv5094 (personal PC)
b8a454fa92 feat(communication/whatsapp): add whatsapp desktop client 2024-10-16 10:20:30 +05:30
2 changed files with 33 additions and 3 deletions

View File

@ -0,0 +1,24 @@
#!/bin/sh -e
. ../../common-script.sh
installWhatsapp() {
printf "%b\n" "${YELLOW}The app we are installing is Zap-Zap, an Open Source Desktop Client for Linux${RC}"
if ! command_exists com.rtosta.zapzap && ! command_exists zapzap; then
printf "%b\n" "${YELLOW}Installing Whatsapp(Zap-Zap by rtosta)${RC}"
case "$PACKAGER" in
pacman)
"$AUR_HELPER" -S --needed --noconfirm zapzap
;;
*)
. ../setup-flatpak.sh
flatpak install flathub com.rtosta.zapzap
;;
esac
else
printf "%b\n" "${GREEN}WhatsApp(Zap-Zap by rtosta) is already installed.${RC}"
fi
}
checkEnv
installWhatsapp

View File

@ -78,6 +78,12 @@ description = "Telegram is a cloud-based messaging app known for its speed and s
script = "communication-apps/telegram-setup.sh" script = "communication-apps/telegram-setup.sh"
task_list = "I" task_list = "I"
[[data.entries]]
name = "WhatsApp"
description = "WhatsApp is a cloud-based messaging app known for its speed and security, offering features like group chats, channels, and end-to-end encrypted calls."
script = "communication-apps/whatsapp-setup.sh"
task_list = "I"
[[data.entries]] [[data.entries]]
name = "Zoom" name = "Zoom"
description = "Zoom is a widely-used video conferencing platform that allows users to host virtual meetings, webinars, and online collaboration with features like screen sharing and recording." description = "Zoom is a widely-used video conferencing platform that allows users to host virtual meetings, webinars, and online collaboration with features like screen sharing and recording."
@ -255,7 +261,7 @@ task_list = "I"
[[data.preconditions]] [[data.preconditions]]
matches = false matches = false
data = "command_exists" data = "command_exists"
values = [ "linutil" ] values = ["linutil"]
[[data]] [[data]]
name = "Linutil Updater" name = "Linutil Updater"
@ -266,7 +272,7 @@ task_list = "I"
[[data.preconditions]] [[data.preconditions]]
matches = true matches = true
data = "command_exists" data = "command_exists"
values = [ "linutil" ] values = ["linutil"]
[[data]] [[data]]
name = "Rofi" name = "Rofi"
@ -282,7 +288,7 @@ task_list = "I SS"
[[data.preconditions]] [[data.preconditions]]
matches = true matches = true
data = { environment = "XDG_SESSION_TYPE" } data = { environment = "XDG_SESSION_TYPE" }
values = [ "wayland", "Wayland" ] values = ["wayland", "Wayland"]
[[data]] [[data]]
name = "ZSH Prompt" name = "ZSH Prompt"