Files
dotfiles/script/install.d/76-appcleaner.sh
Andrejus Kostarevas 69bbac50ec Add AppCleaner to macOS install
Add script to install AppCleaner on macOS using Homebrew.

* Create `script/install.d/76-appcleaner.sh` to check if AppCleaner is already installed and install it if not
* Print a message indicating whether AppCleaner is already installed or has been installed

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/andrejusk/dotfiles?shareId=XXXX-XXXX-XXXX-XXXX).
2024-12-04 12:48:18 +00:00

16 lines
402 B
Bash

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# (macOS only) Install AppCleaner.
#
if [[ "$OSTYPE" == "darwin"* ]]; then
if ! brew list --cask appcleaner &> /dev/null; then
brew install --cask appcleaner
echo "AppCleaner has been installed."
else
echo "AppCleaner is already installed."
fi
fi