Update run-server.sh

Fix issue where wslu not installed results in var not set errors.
This commit is contained in:
Andrew
2025-07-03 12:01:57 -05:00
committed by GitHub
parent ad6b216265
commit fd76f8580d

View File

@@ -125,7 +125,7 @@ get_claude_config_path() {
win_appdata=$(wslvar APPDATA 2>/dev/null)
fi
if [[ -n "$win_appdata" ]]; then
if [[ "${win_appdata:-}" != "" ]]; then
echo "$(wslpath "$win_appdata")/Claude/claude_desktop_config.json"
else
print_warning "Could not determine Windows user path automatically. Please ensure APPDATA is set correctly or provide the full path manually."