Upload Install-ComfyUI.ps1
Browse files
scripts/ComfyUI/Install-ComfyUI.ps1
CHANGED
|
@@ -180,12 +180,12 @@ if (-not (Get-Command git.exe -ErrorAction SilentlyContinue)) {
|
|
| 180 |
Invoke-AndLog "git" "config --system core.longpaths true"
|
| 181 |
Write-Log "Git is ready." -Color Green
|
| 182 |
Write-Log "Install Visual Studio Build Tools." -Color Green
|
| 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)) {
|
| 187 |
$comfyArchive = Join-Path $installPath "ComfyUI_windows_portable_nvidia.7z"
|
| 188 |
-
Download-File -Uri "https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.
|
| 189 |
Write-Log " - Extracting ComfyUI..."
|
| 190 |
Invoke-AndLog "$sevenZipPath" "x `"$comfyArchive`" -o`"$installPath`" -y"
|
| 191 |
Remove-Item $comfyArchive
|
|
|
|
| 180 |
Invoke-AndLog "git" "config --system core.longpaths true"
|
| 181 |
Write-Log "Git is ready." -Color Green
|
| 182 |
Write-Log "Install Visual Studio Build Tools." -Color Green
|
| 183 |
+
winget install --id 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)) {
|
| 187 |
$comfyArchive = Join-Path $installPath "ComfyUI_windows_portable_nvidia.7z"
|
| 188 |
+
Download-File -Uri "https://github.com/comfyanonymous/ComfyUI/releases/download/v0.3.43/ComfyUI_windows_portable_nvidia.7z" -OutFile $comfyArchive
|
| 189 |
Write-Log " - Extracting ComfyUI..."
|
| 190 |
Invoke-AndLog "$sevenZipPath" "x `"$comfyArchive`" -o`"$installPath`" -y"
|
| 191 |
Remove-Item $comfyArchive
|