mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-19 02:53:05 +08:00
Fix OS reporting in /system_stats API to use sys.platform
Replace os.name with sys.platform for more detailed OS identification. This change provides better OS differentiation: - Windows: "nt" -> "win32" - macOS: "posix" -> "darwin" - Linux: "posix" -> "linux" Previously, both macOS and Linux returned "posix", making them indistinguishable. Now each OS has a unique identifier, aligning with the Registry Specifications for proper compatibility checks. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
71ed4a399e
commit
c97f6aa0b2