From 81f224dee7fd96f374407f6025a4a9bd007a5b40 Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Mon, 12 May 2025 18:29:47 +0100 Subject: [PATCH] WIP --- .github/build_windows_packages.ps1 | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/build_windows_packages.ps1 b/.github/build_windows_packages.ps1 index 304e65e1..6d99fbd1 100644 --- a/.github/build_windows_packages.ps1 +++ b/.github/build_windows_packages.ps1 @@ -17,21 +17,17 @@ Write-Host "[INFO] Creating tmp dir..." New-Item -ItemType Directory -Force -Path $tmpDir | Out-Null Write-Host "[INFO] Downloading Python..." -$pyUrl = "https://github.com/astral-sh/python-build-standalone/releases/download/20250409/cpython-3.11.12+20250409-x86_64-pc-windows-msvc-pgo-full.tar.zst" $zst = "$tmpDir\python.tar.zst" -Invoke-WebRequest $pyUrl -OutFile $zst -Get-ChildItem +Invoke-WebRequest "https://github.com/astral-sh/python-build-standalone/releases/download/20250409/cpython-3.11.12+20250409-x86_64-pc-windows-msvc-pgo-full.tar.zst" -OutFile $zst + +Write-Host "1111" Get-ChildItem $tmpDir -Write-Host "0000" -Push-Location $tmpDir -& "C:\Program Files\7-Zip\7z.exe" e $zst -aoa -Pop-Location +& "C:\Program Files\7-Zip\7z.exe" e $zst -o"$tmpDir" -aoa +Write-Host "2222" Get-ChildItem $tmpDir -Write-Host "11111" $tar = Get-ChildItem "$tmpDir" -Filter "*.tar" | Select-Object -First 1 -Get-ChildItem $tmpDir -Write-Host "222222" -& "C:\Program Files\7-Zip\7z.exe" x $tar.FullName -o$tmpDir\extracted -aoa | Out-Null +& "C:\Program Files\7-Zip\7z.exe" x $tar.FullName -o"$tmpDir\extracted" -aoa +Write-Host "3333" Get-ChildItem $tmpDir Move-Item "$tmpDir\extracted\python\install" "$srcDir\runtime"