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:
20
scripts/games/gog/use-bottle.sh
Executable file
20
scripts/games/gog/use-bottle.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
GOG_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
id="${1:-}"
|
||||
name="${2:-GOG-Install}"
|
||||
if [[ -z "${id}" ]]; then
|
||||
echo "Использование: $(basename "$0") <BOTTLE_UUID> [имя]"
|
||||
bash "${GOG_DIR}/list-bottles.sh"
|
||||
exit 1
|
||||
fi
|
||||
if [[ "${id}" == "38412122-AAE1-4831-9F2E-6A0EB364B3F9" ]]; then
|
||||
echo "❌ Это bottle HoMM-OldenEra (Steam/HoMM). Создайте новый bottle в Whisky."
|
||||
exit 1
|
||||
fi
|
||||
cat >"${GOG_DIR}/bottle.env" <<EOF
|
||||
BOTTLE_ID=${id}
|
||||
BOTTLE_NAME=${name}
|
||||
EOF
|
||||
echo "OK: ${GOG_DIR}/bottle.env → ${name} (${id})"
|
||||
echo "Дальше: bash ${GOG_DIR}/setup-bottle.sh"
|
||||
Reference in New Issue
Block a user