Files
YMhut-box-C-/环境依赖安装.ps1

15 lines
567 B
PowerShell
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
脚本会检测并按需下载安装
- .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