mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Merge da61dc448a
into 696110eae5
This commit is contained in:
commit
bf5c2f0c57
|
@ -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
|
|
@ -78,6 +78,12 @@ description = "Telegram is a cloud-based messaging app known for its speed and s
|
|||
script = "communication-apps/telegram-setup.sh"
|
||||
task_list = "I"
|
||||
|
||||
[[data.entries]]
|
||||
name = "ZapZap (Whatsapp Client)"
|
||||
description = "ZapZap is a whatsapp desktop client for linux users, It is an open source project developed by rafatosta."
|
||||
script = "communication-apps/zapzap-setup.sh"
|
||||
task_list = "I"
|
||||
|
||||
[[data.entries]]
|
||||
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."
|
||||
|
@ -255,7 +261,7 @@ task_list = "I"
|
|||
[[data.preconditions]]
|
||||
matches = false
|
||||
data = "command_exists"
|
||||
values = [ "linutil" ]
|
||||
values = ["linutil"]
|
||||
|
||||
[[data]]
|
||||
name = "Linutil Updater"
|
||||
|
@ -266,7 +272,7 @@ task_list = "I"
|
|||
[[data.preconditions]]
|
||||
matches = true
|
||||
data = "command_exists"
|
||||
values = [ "linutil" ]
|
||||
values = ["linutil"]
|
||||
|
||||
[[data]]
|
||||
name = "Rofi"
|
||||
|
@ -282,7 +288,7 @@ task_list = "I SS"
|
|||
[[data.preconditions]]
|
||||
matches = true
|
||||
data = { environment = "XDG_SESSION_TYPE" }
|
||||
values = [ "wayland", "Wayland" ]
|
||||
values = ["wayland", "Wayland"]
|
||||
|
||||
[[data]]
|
||||
name = "ZSH Prompt"
|
||||
|
|
Loading…
Reference in New Issue
Block a user