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,52 @@
#!/usr/bin/env bash
# Удалить клиент Steam из GOG-bottle (если попал). JA3/GOG — без Steam.app.
# Не трогает steam_api64.dll в папке игры (GOG Galaxy wrapper, не Steam client).
set -euo pipefail
GOG_DIR="$(cd "$(dirname "$0")" && pwd)"
# shellcheck source=config.sh
source "${GOG_DIR}/config.sh"
STEAM_DIRS=(
"${BOTTLE_DIR}/drive_c/Program Files (x86)/Steam"
"${BOTTLE_DIR}/drive_c/Program Files/Steam"
"${BOTTLE_DIR}/drive_c/Steam"
)
main() {
echo "=== Purge Steam из bottle ${BOTTLE_NAME} ==="
pkill -9 -f "${BOTTLE_ID}.*[Ss]team" 2>/dev/null || true
pkill -9 -f "${BOTTLE_DIR}.*steam\.exe" 2>/dev/null || true
local d removed=0
for d in "${STEAM_DIRS[@]}"; do
if [[ -d "${d}" ]]; then
echo " удаляю: ${d}"
rm -rf "${d}"
removed=1
fi
done
find "${BOTTLE_DIR}/drive_c" -maxdepth 4 \( -iname 'steam.exe' -o -iname 'steamservice.exe' \) 2>/dev/null | while read -r f; do
echo " удаляю: ${f}"
rm -f "${f}"
removed=1
done
export WINEPREFIX="${BOTTLE_DIR}"
export DYLD_LIBRARY_PATH="${WINE_LIB}:${DYLD_LIBRARY_PATH:-}"
if [[ -x "${WINE64}" ]]; then
"${WINE64}" reg delete 'HKCU\Software\Valve' /f >/dev/null 2>&1 || true
"${WINE64}" reg delete 'HKLM\Software\Valve' /f >/dev/null 2>&1 || true
fi
if [[ "${removed}" -eq 0 ]]; then
echo "OK: каталога Steam в bottle не было."
else
echo "OK: Steam client удалён из bottle."
fi
echo ""
echo "Примечание: JA3.exe использует steam_api64.dll + Galaxy.dll (GOG), это не Steam.app."
}
main "$@"