1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 23:14:45 +00:00

fix(uninstall): resolve hang during brew uninstall by exposing output and ensuring sudo

This commit is contained in:
Tw93
2026-01-16 12:54:21 +08:00
parent 7294ef65a1
commit ffa46b03ee
2 changed files with 17 additions and 4 deletions

View File

@@ -388,6 +388,8 @@ batch_uninstall_applications() {
# Stop Launch Agents/Daemons before removal.
local has_system_files="false"
[[ -n "$system_files" ]] && has_system_files="true"
stop_launch_services "$bundle_id" "$has_system_files"
# Remove from Login Items