Files
local_machine/scripts/games/gog/list-bottles.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

12 lines
525 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
echo "Whisky bottles (franke):"
for meta in "${HOME}/Library/Containers/com.franke.Whisky/Bottles/"*/Metadata.plist; do
[[ -f "${meta}" ]] || continue
id="$(basename "$(dirname "${meta}")")"
name="$(plutil -extract info.name raw "${meta}" 2>/dev/null || echo "?")"
du -sh "$(dirname "${meta}")" 2>/dev/null | awk -v id="${id}" -v n="${name}" '{printf " %s %-20s %s\n", id, n, $1}'
done
echo ""
echo "Привязать GOG: bash $(dirname "$0")/use-bottle.sh <UUID> [имя]"