添加 环境依赖安装.ps1
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
|||||||
|
脚本会检测并按需下载安装:
|
||||||
|
- .NET 10 SDK 和 .NET MAUI workload
|
||||||
|
- Visual Studio 2022 Build Tools、MSVC、Windows SDK
|
||||||
|
- Node.js 20+、npm、Corepack/pnpm
|
||||||
|
- Go 1.25+
|
||||||
|
- Rust MSVC、Cargo、wasm-pack、WASM target
|
||||||
|
- Python 3.10+ 和 Pillow
|
||||||
|
- WebView2 Runtime
|
||||||
|
- NuGet、npm、pnpm、Go modules 和 Cargo 依赖
|
||||||
|
|
||||||
|
在新机器的仓库根目录运行:
|
||||||
|
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install-dependencies.ps1
|
||||||
|
|
||||||
|
无人值守安装:
|
||||||
|
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install-dependencies.ps1 -NoPrompt
|
||||||
Reference in New Issue
Block a user