Expand local_machine docs and automation for connectivity, games, and ops.
Add proxy/VPN/telegram launchd and emergency runbooks; reorganize apps docs; document JA3 CrossOver runbook and Wine troubleshooting; add GOG/HoMM game scripts, disk cleanup guides, and gitea push-via-proxy helper. Ignore temp/. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
18
docs/apps/launch/disable_login_items_notion_mega.sh
Executable file
18
docs/apps/launch/disable_login_items_notion_mega.sh
Executable 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)."
|
||||
Reference in New Issue
Block a user