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:
ahauimix
2026-06-01 08:12:19 +03:00
parent a39ef89125
commit 1938b7c743
135 changed files with 9933 additions and 388 deletions

View File

@@ -0,0 +1,42 @@
#!/usr/bin/env bash
# Скачать только лаунчер (~1 MB) для multipart offline backup JA3.
set -euo pipefail
GOG_DIR="$(cd "$(dirname "$0")" && pwd)"
JA3_GAMES_DIR="${JA3_GAMES_DIR:-${HOME}/Games}"
OUT="${JA3_GAMES_DIR}/setup_jagged_alliance_3_1.5.2_(80730).exe"
mkdir -p "${JA3_GAMES_DIR}"
if [[ -f "${OUT}" ]]; then
echo "Уже есть: ${OUT}"
exit 0
fi
if ! command -v lgogdownloader >/dev/null 2>&1; then
echo "❌ Нужен lgogdownloader: brew install lgogdownloader"
exit 1
fi
echo "Скачивание en1installer0 (~1 MB) → ${OUT}"
echo "Если ошибка login — выполните: lgogdownloader --login"
echo ""
lgogdownloader \
--download-file "jagged_alliance_3/en1installer0" \
--output-file "$(basename "${OUT}")" \
--directory "${JA3_GAMES_DIR}"
if [[ -f "${OUT}" ]]; then
ls -lh "${OUT}"
echo "OK. Дальше: bash ${GOG_DIR}/install-ja3-multipart.sh"
else
# lgogdownloader может сохранить под другим именем
f="$(find "${JA3_GAMES_DIR}" -maxdepth 1 -iname 'setup*jagged*alliance*3*.exe' -print -quit 2>/dev/null || true)"
if [[ -n "${f}" ]]; then
echo "Скачан как: ${f}"
echo "Запуск: JA3_SETUP_EXE='${f}' bash ${GOG_DIR}/install-ja3-multipart.sh"
else
echo "❌ .exe не появился в ${JA3_GAMES_DIR}"
exit 1
fi
fi