添加 环境依赖安装.ps1

This commit is contained in:
2026-08-19 23:13:50 +00:00
parent 2e54c63cae
commit e88fc8532d
+15
View File
@@ -0,0 +1,15 @@
脚本会检测并按需下载安装
- .NET 10 SDK .NET MAUI workload
- Visual Studio 2022 Build ToolsMSVCWindows SDK
- Node.js 20+npmCorepack/pnpm
- Go 1.25+
- Rust MSVCCargowasm-packWASM target
- Python 3.10+ Pillow
- WebView2 Runtime
- NuGetnpmpnpmGo modules Cargo 依赖
在新机器的仓库根目录运行
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install-dependencies.ps1
无人值守安装
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install-dependencies.ps1 -NoPrompt