mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-23 05:35:20 +00:00
51e2cbd607
* feat(communication/whatsapp): add whatsapp desktop client * Update core/tabs/applications-setup/communication-apps/whatsapp-setup.sh Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> * refactor: changing name to zapzap As per @Ilj3954 and @adamperkowski request, I'm changing both option and script name to zapzap (which was the original name of the app) * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * chore: adjusting indentation * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Jeevitha Kannan K S <ksjeevithakannan123@gmail.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Jeevitha Kannan K S <ksjeevithakannan123@gmail.com> --------- Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> Co-authored-by: Adam Perkowski <adas1per@protonmail.com> Co-authored-by: Chris Titus <contact@christitus.com>
24 lines
488 B
Bash
24 lines
488 B
Bash
#!/bin/sh -e
|
|
|
|
. ../../common-script.sh
|
|
|
|
installZapZap() {
|
|
if ! command_exists com.rtosta.zapzap && ! command_exists zapzap; then
|
|
printf "%b\n" "${YELLOW}Installing Zap-Zap...${RC}"
|
|
case "$PACKAGER" in
|
|
pacman)
|
|
"$AUR_HELPER" -S --needed --noconfirm zapzap
|
|
;;
|
|
*)
|
|
checkFlatpak
|
|
flatpak install flathub com.rtosta.zapzap
|
|
;;
|
|
esac
|
|
else
|
|
printf "%b\n" "${GREEN}Zap-Zap is already installed.${RC}"
|
|
fi
|
|
}
|
|
|
|
checkEnv
|
|
installZapZap
|