File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2222 WINPYTHON_VERSION : " 16.6.20250620final"
2323 WINPYTHON_FILENAME : " Winpython64-3.12.10.1dot.zip"
2424 WINPYTHON_DOWNLOAD_URL : " https://github.com/winpython/winpython/releases/download/16.6.20250620final/Winpython64-3.12.10.1dot.zip"
25-
25+
2626jobs :
2727 build :
2828 runs-on : windows-latest
@@ -228,13 +228,14 @@ jobs:
228228 $config = @{}
229229 Write-Host "⚠️ No existing config file, creating new one"
230230 }
231+ $archiveNameWithoutExtension = $archiveName -replace '\.7z$', ''
231232
232233 # Update all values
233234 $config.python_download_url = "https://github.com/$repoOwner/$repoName/releases/download/v$version/$archiveName"
234235 $config.python_expected_hash_sha256 = $hash
235236 $config.default_install_directory = "C:\hec\python"
236237 $config.default_env_var_name = "PYTHON_CWMS_HOME"
237- $config.python_exe_sub_directory = "$winpythonSubDir \python"
238+ $config.python_exe_sub_directory = "$archiveNameWithoutExtension \python"
238239 $config.version = $version
239240 $config.archive_filename = $archiveName
240241 $config.archive_size_mb = [math]::Round((Get-Item $archiveName).Length / 1MB, 2)
You can’t perform that action at this time.
0 commit comments