diff --git a/.github/test.ps1 b/.github/test.ps1 index 1b32eed8..66dd7715 100644 --- a/.github/test.ps1 +++ b/.github/test.ps1 @@ -64,6 +64,7 @@ Set-Content -Path "config.txt" -Value $config -Encoding UTF8 # $SfxModule = "C:\Program Files\7-Zip\7z.sfx" # $SfxExePath = "$pkgName.exe" # Write-Host "[INFO] Creating self-extracting archive: $SfxExePath" +Get-ChildItem . $cmd = 'copy /b "{0}"+"config.txt"+"{1}" "{2}"' -f $SfxModule, $7zPath, $SfxExePath Write-Host "[INFO] Running CMD: $cmd" cmd /c $cmd