mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 15:04:42 +00:00
chore: auto format code
This commit is contained in:
@@ -101,7 +101,7 @@ remove_login_item() {
|
|||||||
|
|
||||||
# Remove from Login Items using index-based deletion (handles broken items)
|
# Remove from Login Items using index-based deletion (handles broken items)
|
||||||
if [[ -n "$clean_name" ]]; then
|
if [[ -n "$clean_name" ]]; then
|
||||||
osascript <<-EOF 2>/dev/null || true
|
osascript <<- EOF 2> /dev/null || true
|
||||||
tell application "System Events"
|
tell application "System Events"
|
||||||
try
|
try
|
||||||
set itemCount to count of login items
|
set itemCount to count of login items
|
||||||
@@ -120,8 +120,6 @@ remove_login_item() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Remove files (handles symlinks, optional sudo).
|
# Remove files (handles symlinks, optional sudo).
|
||||||
remove_file_list() {
|
remove_file_list() {
|
||||||
local file_list="$1"
|
local file_list="$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user