mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ss5gKj7XG5JPi27XwGBGTs
13 lines
558 B
Bash
13 lines
558 B
Bash
#!/bin/bash
|
|
# Installed by Steamify CachyOS: start the newest release of its app.
|
|
set -o pipefail
|
|
if [[ "${1:-}" != --in-terminal ]] && ! python3 -c 'import PySide6.QtQml' 2>/dev/null; then
|
|
exec konsole -e "$0" --in-terminal
|
|
fi
|
|
if ! curl -fsSL --max-time 30 "@URL@" | bash; then
|
|
msg="Couldn't download or start Steamify. Are you connected to the internet?"
|
|
if [[ "${1:-}" == --in-terminal ]]; then echo; echo "$msg"; read -rp "Press Enter to close this window... " _
|
|
else kdialog --title Steamify --sorry "$msg" 2>/dev/null; fi
|
|
exit 1
|
|
fi
|