Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d31c58

Browse files
authored
Merge pull request #1862 from stonebig/master
gemini AI to the rescue
2 parents 4cc217a + 36ad31b commit 2d31c58

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/github_workflows_build-all.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,15 @@ jobs:
400400
run: |
401401
$destfile7z = "publish_output\WinPython$env:WINPYARCH-$env:WINPYVER.exe"
402402
$sourceDir = "$env:build_location"
403+
404+
# Define the standard 7-Zip installation path (adjust if using a custom install)
405+
$SevenZipDir = "C:\Program Files\7-Zip"
406+
# Use the full path to the SFX module
407+
$SFXModulePath = "$SevenZipDir\7z.sfx"
408+
403409
#7z a -sfx $destfile7z $sourceDir
404-
7z a -t7z -sfx7z.sfx $destfile7z $sourceDir
410+
#7z a -t7z -sfx7z.sfx $destfile7z $sourceDir
411+
7z a -t7z -sfx$SFXModulePath $destfile7z $sourceDir
405412

406413
- name: generate hashes wppm style
407414
if: env.ARTIFACT_NAME != ''

0 commit comments

Comments
 (0)