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:
25
scripts/games/install-steam-in-bottle.sh
Executable file
25
scripts/games/install-steam-in-bottle.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
# Steam через GUI-установщик в Whisky (если extract не подошёл).
|
||||
set -euo pipefail
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
# shellcheck source=config.sh
|
||||
source "${SCRIPT_DIR}/config.sh"
|
||||
|
||||
if [[ ! -f "${STEAM_SETUP}" ]]; then
|
||||
echo "Скачиваю SteamSetup.exe..."
|
||||
mkdir -p "${GAMES_CACHE_DIR}"
|
||||
curl -L --fail -o "${STEAM_SETUP}" \
|
||||
"https://cdn.fastly.steamstatic.com/client/installer/SteamSetup.exe"
|
||||
fi
|
||||
|
||||
if [[ ! -d "${BOTTLE_DIR}/drive_c" ]]; then
|
||||
echo "Bottle ещё не инициализирован."
|
||||
echo "1) open -a Whisky"
|
||||
echo "2) Откройте bottle «${BOTTLE_NAME}» и дождитесь создания Windows-префикса"
|
||||
echo "3) Запустите этот скрипт снова"
|
||||
open -a Whisky
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Запуск установщика Steam в bottle «${BOTTLE_NAME}»..."
|
||||
whisky run "${BOTTLE_NAME}" "${STEAM_SETUP}"
|
||||
Reference in New Issue
Block a user