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:
17
scripts/games/gog/reset-ja3-crossover.sh
Executable file
17
scripts/games/gog/reset-ja3-crossover.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Остановить JA3 / Wine (CrossOver bottle JA3-GOG) перед перезапуском.
|
||||
set -euo pipefail
|
||||
GOG_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
# shellcheck source=gog-process.sh
|
||||
source "${GOG_DIR}/gog-process.sh"
|
||||
|
||||
bash "${GOG_DIR}/emergency-stop.sh" 2>/dev/null || gog_kill_all
|
||||
pkill -f 'JA3\.exe' 2>/dev/null || true
|
||||
pkill -f 'wineserver.*JA3-GOG' 2>/dev/null || true
|
||||
|
||||
CX="/Applications/CrossOver.app/Contents/SharedSupport/CrossOver"
|
||||
if [[ -x "${CX}/bin/wine" ]]; then
|
||||
"${CX}/bin/wine" --bottle JA3-GOG wineboot --kill 2>/dev/null || true
|
||||
fi
|
||||
sleep 2
|
||||
pgrep -fl 'JA3\.exe|wineserver' 2>/dev/null | head -5 || echo "OK: процессы JA3/Wine остановлены"
|
||||
Reference in New Issue
Block a user