mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
refactor: start scripts as patches files, LED driver install in steps
This commit is contained in:
1 parent
6080cd7491
commit
18e06797b3
6 files changed
+69
-60
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
Reference in new issue
Block a user