Committed by
GitHub
Fix uploading win32 libs to huggingface (#2537)
This PR fixes the uploading process for win32 libraries to Hugging Face by updating Windows OS detection and correcting the file copy destination path. - Replaces deprecated wmic command with PowerShell-based OS detection for better reliability - Adds fallback mechanism using cmd /c ver when PowerShell is unavailable - Corrects the destination path for win32 library archives to include version subdirectory
正在显示
2 个修改的文件
包含
23 行增加
和
9 行删除
-
请 注册 或 登录 后发表评论