Upload Install-ComfyUI.ps1
Browse files
scripts/ComfyUI/Install-ComfyUI.ps1
CHANGED
@@ -179,7 +179,8 @@ if (-not (Get-Command git.exe -ErrorAction SilentlyContinue)) {
|
|
179 |
}
|
180 |
Invoke-AndLog "git" "config --system core.longpaths true"
|
181 |
Write-Log "Git is ready." -Color Green
|
182 |
-
|
|
|
183 |
# --- Step 2: Download and Extract ComfyUI ---
|
184 |
Write-Log "`nStep 2: Downloading and setting up ComfyUI..." -Color Yellow
|
185 |
if (-not (Test-Path $basePath)) {
|
|
|
179 |
}
|
180 |
Invoke-AndLog "git" "config --system core.longpaths true"
|
181 |
Write-Log "Git is ready." -Color Green
|
182 |
+
Write-Log "`nInstall Visual Studio Build Tools..." -Color Yellow
|
183 |
+
winget install Microsoft.VisualStudio.2022.BuildTools -e --source winget --override "--quiet --wait --norestart --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.20348"
|
184 |
# --- Step 2: Download and Extract ComfyUI ---
|
185 |
Write-Log "`nStep 2: Downloading and setting up ComfyUI..." -Color Yellow
|
186 |
if (-not (Test-Path $basePath)) {
|