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,18 @@
#!/bin/bash
# Удаляет Notion и MEGA (MEGAsync) из «Объекты входа».
# Запустить в Terminal.app (не в Cursor): ./disable_login_items_notion_mega.sh
# При первом запуске: Системные настройки → Конфиденциальность и безопасность → Доступ к управлению компьютером — включить для Terminal.
osascript << 'APPLESCRIPT'
tell application "System Events"
set loginItems to get the name of every login item
set toRemove to {"Notion", "MEGAsync", "MEGA"}
repeat with appName in toRemove
if loginItems contains appName then
delete login item appName
log "Removed from Login Items: " & appName
end if
end repeat
end tell
APPLESCRIPT
echo "Done. Notion and MEGA removed from Login Items (if they were there)."