From ba987db7762b4494381251366e44b71f07bc9857 Mon Sep 17 00:00:00 2001 From: techjarves Date: Thu, 25 Jun 2026 21:44:44 +0530 Subject: [PATCH] feat: implement portable static server with backend management and add setup script for automated environment initialization --- scripts/server/serve.cjs | 4 ++-- scripts/setup/setup.ps1 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/server/serve.cjs b/scripts/server/serve.cjs index 3c5f63f..3eded97 100644 --- a/scripts/server/serve.cjs +++ b/scripts/server/serve.cjs @@ -4611,7 +4611,7 @@ const IMAGE_BACKEND_DOWNLOADS = { "cpu": { id: "cpu", label: "CPU", - url: "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-669-2d40a8b/sd-master-2d40a8b-bin-win-avx2-x64.zip", + url: "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-721-8caa3f9/sd-master-8caa3f9-bin-win-avx2-x64.zip", destDir: path.join(ROOT, "app", "backend", "win", "cpu"), exeName: "sd-cpu.exe", requiredDll: "stable-diffusion.dll", @@ -4627,7 +4627,7 @@ const IMAGE_BACKEND_DOWNLOADS = { "cuda": { id: "cuda", label: "CUDA GPU", - url: "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-669-2d40a8b/sd-master-2d40a8b-bin-win-cuda12-x64.zip", + url: "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-721-8caa3f9/sd-master-8caa3f9-bin-win-cuda12-x64.zip", destDir: path.join(ROOT, "app", "backend", "win", "cuda"), exeName: "sd-cuda.exe", requiredDll: "stable-diffusion.dll", diff --git a/scripts/setup/setup.ps1 b/scripts/setup/setup.ps1 index fd8f680..25a6afb 100644 --- a/scripts/setup/setup.ps1 +++ b/scripts/setup/setup.ps1 @@ -255,7 +255,7 @@ if ((Test-Path $cpuBackendExe) -and (Test-Path $cpuBackendDll)) { New-Item -ItemType Directory -Force -Path $cpuBackendDest | Out-Null $ok = Invoke-RichDownload ` - -Url "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-669-2d40a8b/sd-master-2d40a8b-bin-win-avx2-x64.zip" ` + -Url "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-721-8caa3f9/sd-master-8caa3f9-bin-win-avx2-x64.zip" ` -Dest $cpuBackendZip ` -Label "stable-diffusion.cpp CPU Backend (Windows x64 AVX2)" @@ -306,7 +306,7 @@ if ($hasNvidia) { New-Item -ItemType Directory -Force -Path $backendDest | Out-Null $ok = Invoke-RichDownload ` - -Url "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-669-2d40a8b/sd-master-2d40a8b-bin-win-cuda12-x64.zip" ` + -Url "https://github.com/leejet/stable-diffusion.cpp/releases/download/master-721-8caa3f9/sd-master-8caa3f9-bin-win-cuda12-x64.zip" ` -Dest $backendZip ` -Label "stable-diffusion.cpp CUDA Backend (Windows x64)"