Initial commit: local_machine docs and scripts

This commit is contained in:
ahauimix
2026-03-14 20:03:57 +03:00
commit a39ef89125
85 changed files with 14500 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Отключает системные LaunchAgents/LaunchDaemons (требуется sudo).
# Запуск: sudo ./disable_system_launch_items.sh
set -e
LA="/Library/LaunchAgents"
LD="/Library/LaunchDaemons"
unload_and_rename() {
local path="$1"
if [[ -f "$path" ]]; then
launchctl unload "$path" 2>/dev/null || true
mv "$path" "${path}.disabled"
echo "Disabled: $path"
fi
}
unload_and_rename "$LA/com.philandro.anydesk.Frontend.plist"
unload_and_rename "$LA/us.zoom.updater.plist"
unload_and_rename "$LA/us.zoom.updater.login.check.plist"
unload_and_rename "$LD/us.zoom.ZoomDaemon.plist"
unload_and_rename "$LD/jp.co.canon.MasterInstaller.plist"
echo "Done."