Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions scripts/applications-setup/tab_data.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@ name = "Kitty"
description = "kitty is a free and open-source GPU-accelerated terminal emulator for Linux, macOS, and some BSD distributions, focused on performance and features. kitty is written in a mix of C and Python programming languages. This command installs and configures kitty."
script = "kitty-setup.sh"

[[data]]
name = "Utilities"

[[data.entries]]
name = "AppCleaner"
description = "AppCleaner is a small application which allows you to thoroughly uninstall unwanted apps."
script = "utilities/appcleaner-setup.sh"

[[data]]
name = "ZSH Prompt"
description = "The Z shell is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh. This command installs ZSH prompt and provides basic configuration."
Expand Down
20 changes: 20 additions & 0 deletions scripts/applications-setup/utilities/appcleaner-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh -e

. ../../common-script.sh

install_appcleaner() {
if ! brewprogram_exists appcleaner; then
printf "%b\n" "${YELLOW}Installing AppCleaner...${RC}"
brew install --cask appcleaner
if [ $? -ne 0 ]; then
printf "%b\n" "${RED}Failed to install AppCleaner. Please check your Homebrew installation or try again later.${RC}"
exit 1
fi
printf "%b\n" "${GREEN}AppCleaner installed successfully!${RC}"
else
printf "%b\n" "${GREEN}AppCleaner is already installed.${RC}"
fi
}

checkEnv
install_appcleaner