Compare commits
2
Commits
0d8d87794d
...
bc7b9c6bb0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc7b9c6bb0 | ||
|
|
c1a97d8945 |
+7
-1
@@ -1226,7 +1226,13 @@ case "$1" in
|
||||
# Show which apps are already installed and what's available
|
||||
echo ""
|
||||
echo " Checking current Wolf config..."
|
||||
INSTALLED=$(sudo grep "^ name = 'Wolf" "$WOLF_CFG" 2>/dev/null | sed "s/.*name = '//;s/'//" | tr '\n' ' ')
|
||||
# Any amount of leading whitespace (or none) — Wolf's own TOML writer
|
||||
# doesn't reliably indent with exactly 4 spaces, and a stricter
|
||||
# anchor here silently reports "No Wolf apps installed yet" even
|
||||
# when apps clearly are (confirmed live), which then makes the
|
||||
# Enter/"update mounts only" path fall back to the hardcoded
|
||||
# steam+esde default instead of actually refreshing what's there.
|
||||
INSTALLED=$(sudo grep -E "^[[:space:]]*name = 'Wolf" "$WOLF_CFG" 2>/dev/null | sed "s/.*name = '//;s/'//" | tr '\n' ' ')
|
||||
[ -n "$INSTALLED" ] && echo " Already installed: $INSTALLED" || echo " No Wolf apps installed yet."
|
||||
echo ""
|
||||
echo " Available apps:"
|
||||
|
||||
Reference in New Issue
Block a user