feat: implement portable static server with backend management and add setup script for automated environment initialization

This commit is contained in:
techjarves committed 2026-06-25 21:44:44 +05:30
1 parent 50a49781e7
commit ba987db776
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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",
+2 -2
View File
@@ -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)"