Skip to content

Commit

Permalink
fix wix issue on versioning of windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Nov 1, 2024
1 parent f488876 commit aa9ca13
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 aa9ca13

Please sign in to comment.