mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 18:34:46 +00:00
chore: auto format code
This commit is contained in:
@@ -206,7 +206,7 @@ read_key() {
|
||||
echo "QUIT"
|
||||
fi
|
||||
;;
|
||||
' ') echo "SPACE" ;; # Allow space in filter mode for selection
|
||||
' ') echo "SPACE" ;; # Allow space in filter mode for selection
|
||||
[[:print:]]) echo "CHAR:$key" ;;
|
||||
*) echo "OTHER" ;;
|
||||
esac
|
||||
|
||||
@@ -389,7 +389,6 @@ batch_uninstall_applications() {
|
||||
local has_system_files="false"
|
||||
[[ -n "$system_files" ]] && has_system_files="true"
|
||||
|
||||
|
||||
stop_launch_services "$bundle_id" "$has_system_files"
|
||||
|
||||
# Remove from Login Items
|
||||
|
||||
@@ -179,8 +179,8 @@ brew_uninstall_cask() {
|
||||
# Ensure we have sudo access if needed, to prevent brew from hanging on password prompt
|
||||
# Many brew casks need sudo to uninstall
|
||||
if ! sudo -n true 2> /dev/null; then
|
||||
# If we don't have sudo, try to get it (visibly)
|
||||
sudo -v
|
||||
# If we don't have sudo, try to get it (visibly)
|
||||
sudo -v
|
||||
fi
|
||||
|
||||
local uninstall_ok=false
|
||||
|
||||
Reference in New Issue
Block a user