Merge pull request #406 from outis1one/claude/wolf-pair-port-conflict-7nz8qg
Fix wolf.sh manage.sh apps: detect installed apps regardless of inden…
This commit is contained in:
+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