Files
local_machine/scripts/games/gog/launch-galaxy-whisky.sh
ahauimix 1938b7c743 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>
2026-06-01 08:12:19 +03:00

23 lines
851 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# Запуск GOG Galaxy через Whisky GUI (pin gog-galaxy) — лучший шанс увидеть окно на macOS.
set -euo pipefail
GOG_DIR="$(cd "$(dirname "$0")" && pwd)"
# shellcheck source=config.sh
source "${GOG_DIR}/config.sh"
bash "${GOG_DIR}/pin-galaxy-whisky.sh" >/dev/null 2>&1 || bash "${GOG_DIR}/pin-galaxy-whisky.sh"
bash "${GOG_DIR}/reset.sh"
echo "Открываю Whisky → bottle «${BOTTLE_NAME}»."
echo ""
echo "В GUI Whisky:"
echo " 1) Выберите bottle «${BOTTLE_NAME}»"
echo " 2) Pin «gog-galaxy» → Run (не GalaxySetup_full / не web-stub)"
echo " 3) Cmd+Tab → wine64 / GOG Galaxy"
echo ""
echo "Если pin нет: bash ${GOG_DIR}/pin-galaxy-whisky.sh"
echo "Логи: bash ${GOG_DIR}/collect-gog-logs-7h.sh"
echo ""
open -a Whisky 2>/dev/null || open -a "Whisky.app"