Skip to content

Commit

Permalink
Merge pull request #1899 from mrpalide/fix/windows-wix-issue
Browse files Browse the repository at this point in the history
fix wix issue on versioning of windows installer
  • Loading branch information
mrpalide authored Nov 1, 2024
2 parents f488876 + aa9ca13 commit ebff58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/win_installer/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function BuildInstaller($arch)
Invoke-WebRequest "https://plaintext.ir/wintun-0.14.1.zip" -OutFile wintun.zip
Expand-Archive wintun.zip
Copy-Item .\wintun\wintun\bin\$wintun_arch\wintun.dll .\build\wintun.dll
$installerVersion = $version -replace '(-.*$)', ''
$installerVersion = $version -replace '(^v|-.+$)', ''
$productWxs = Get-Content -Path Product.wxs
$newContent = $productWxs -replace "skywireVersion", $installerVersion
Set-Content -Path Product.wxs -Value $newContent
Expand Down

0 comments on commit ebff58d

Please sign in to comment.