Skip to content

Commit 94bbc98

Browse files
dsarnoclaude
andcommitted
Improve Windows compatibility and code cleanup
- Enhanced Windows support for UV and Claude executable detection with OS-specific path handling - Added PowerShell integration for Windows command execution with proper PATH environment setup - Implemented comprehensive UV path scanning for various installation methods (Python, Chocolatey, Scoop, Cargo, etc.) - Added executable validation using IsValidUvInstallation() method - Improved Claude path detection with fallback to PowerShell's Get-Command - Enhanced configuration path handling with Windows-specific paths and cross-platform normalization - Cleaned up exception handling by removing unused exception variables - Fixed method signature in VSCodeManualSetupWindow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 0ced4d7 commit 94bbc98

File tree

3 files changed

+318
-56
lines changed

3 files changed

+318
-56
lines changed

UnityMcpBridge/Editor/Helpers/GameObjectSerializer.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ public static object GetComponentData(Component c, bool includeNonPublicSerializ
360360
Type propType = propInfo.PropertyType;
361361
AddSerializableValue(serializablePropertiesOutput, propName, propType, value);
362362
}
363-
catch (Exception ex)
363+
catch (Exception)
364364
{
365-
// Debug.LogWarning($"Could not read property {propName} on {componentType.Name}: {ex.Message}");
365+
// Debug.LogWarning($"Could not read property {propName} on {componentType.Name}");
366366
}
367367
}
368368

@@ -383,9 +383,9 @@ public static object GetComponentData(Component c, bool includeNonPublicSerializ
383383
Type fieldType = fieldInfo.FieldType;
384384
AddSerializableValue(serializablePropertiesOutput, fieldName, fieldType, value);
385385
}
386-
catch (Exception ex)
386+
catch (Exception)
387387
{
388-
// Debug.LogWarning($"Could not read field {fieldInfo.Name} on {componentType.Name}: {ex.Message}");
388+
// Debug.LogWarning($"Could not read field {fieldInfo.Name} on {componentType.Name}");
389389
}
390390
}
391391
// --- End Use cached metadata ---

0 commit comments

Comments
 (0)