From 246ebc5b76f9075eb1acb95e0cf0eafd69662d29 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Wed, 21 May 2025 15:00:03 +0300 Subject: [PATCH] WIP --- .github/build_windows_packages.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index 4064712b..6e1c3fb9 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -177,10 +177,13 @@ ExtractPath="." "@ Set-Content -Path "config.txt" -Value $config -Encoding UTF8 -$SfxModule = "C:\Program Files\7-Zip\7z.sfx" +# $SfxModule = "C:\Program Files\7-Zip\7z.sfx" +$SfxModule = "C:\Program Files\7-Zip\7zSD.sfx" $SfxExePath = "$pkgName.exe" Write-Host "[INFO] Creating self-extracting archive: $SfxExePath" -cmd /c "copy /b `"$SfxModule`" + config.txt + `"$7zPath`" `"$SfxExePath`"" +$cmd = 'copy /b "{0}"+"config.txt"+"{1}" "{2}"' -f $SfxModule, $7zPath, $SfxExePath +Write-Host "[INFO] Running CMD: $cmd" +cmd /c $cmd python -m pip install --upgrade pip python -m pip install "modelscope" "huggingface_hub[hf_transfer]" --no-warn-script-location