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:
26
scripts/games/gog/emergency-stop.sh
Executable file
26
scripts/games/gog/emergency-stop.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
# Снять нагрузку GOG/Wine + winedbg (swap). Безопасно для GOG-bottle.
|
||||
set -euo pipefail
|
||||
GOG_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
# shellcheck source=gog-process.sh
|
||||
source "${GOG_DIR}/gog-process.sh"
|
||||
|
||||
_winedbg_count() {
|
||||
pgrep winedbg 2>/dev/null | wc -l | tr -d ' '
|
||||
}
|
||||
|
||||
echo "=== До ==="
|
||||
sysctl vm.swapusage 2>/dev/null || true
|
||||
echo "winedbg: $(_winedbg_count)"
|
||||
|
||||
gog_kill_all
|
||||
pkill -9 winedbg 2>/dev/null || true
|
||||
|
||||
echo ""
|
||||
echo "=== После kill ==="
|
||||
pgrep -fl 'Galaxy|GOG Galaxy' 2>/dev/null || echo "Galaxy: (нет)"
|
||||
echo "winedbg: $(_winedbg_count)"
|
||||
sysctl vm.swapusage 2>/dev/null || true
|
||||
echo ""
|
||||
echo "Если Mac всё ещё тормозит — перезагрузка (swap отдаётся медленно)."
|
||||
echo "Galaxy UI в Wine на этом Mac не подтверждён — JA3: docs/games/GOG_GALAXY_7H_RCA.md § Offline"
|
||||
Reference in New Issue
Block a user