mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
fix: Add as non-Steam game asks Steam to close again every 15 s (a Steam that was still starting ignored it)
This commit is contained in:
1 parent
26139f3e0e
commit
db7b2eb11c
2 files changed
+8
-3
No files matched your search
+2
-1
@@ -7,7 +7,8 @@ one per merged pull request.
|
||||
|
||||
## 2.5.1 - 2026-09-27
|
||||
|
||||
- **docs: README screenshot at 2.5.1 with Add as non-Steam game**
|
||||
- **fix: Add as non-Steam game asks Steam to close again every 15 s (a Steam that was still starting ignored it)**
|
||||
- `3a0692f` **docs: README screenshot at 2.5.1 with Add as non-Steam game**
|
||||
- `e86ddcc` **feat: Add as non-Steam game: Steamify in the Steam library, under the shortcut; controller works when started from Steam**
|
||||
- `389bc33` **fix(ui): B never quits (Steam sends Esc for it), Ctrl+Q does; started from Steam, the hints show the Steam Controller's buttons**
|
||||
- `c6c1150` **fix(ui): Enter selects (a Steam Controller's A in Steam's desktop layout); Ctrl+Enter reviews and applies**
|
||||
|
||||
+6
-2
@@ -62,8 +62,12 @@ steamgame_edit() {
|
||||
steamgame_steam_busy && return 1
|
||||
was_running=true
|
||||
info "Closing Steam for a moment (it only reads its games list at startup)..."
|
||||
steam -shutdown >/dev/null 2>&1
|
||||
for ((i = 0; i < 60; i++)); do pgrep -x steam >/dev/null || break; sleep 1; done
|
||||
# A Steam that's still starting ignores the request: ask again.
|
||||
for ((i = 0; i < 90; i++)); do
|
||||
((i % 15 == 0)) && steam -shutdown >/dev/null 2>&1
|
||||
pgrep -x steam >/dev/null || break
|
||||
sleep 1
|
||||
done
|
||||
pgrep -x steam >/dev/null && { err "Steam didn't close; nothing changed."; return 1; }
|
||||
fi
|
||||
"$1"; local rc=$?
|
||||
|
||||
Reference in new issue
Block a user