Skip to content

Commit

Permalink
swift(*): Fix install script
Browse files Browse the repository at this point in the history
Signed-off-by: Chawye Hsu <[email protected]>
  • Loading branch information
chawyehsu committed Mar 23, 2024
1 parent 984bffd commit 0789c51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bucket/swift-nightly.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"installer": {
"script": [
"wix.exe burn extract \"$dir\\$fname\" -o \"$dir\\extracted\" -oba \"$dir\\extracted\"",
"$productVersion = ([xml](Get-Content -Raw \"$dir\\extracted\\manifest.xml\" -Encoding utf8)).BurnManifest.Registration.Version",
"$productVersion = '0.0.0'",
"Get-ChildItem \"$dir\\extracted\\WixAttachedContainer\\*.msi\" | ForEach-Object {",
" if ($_.Name -match 'rtl.msi') {",
" Expand-MsiArchive $_ \"$dir\\Runtimes\\usr\\bin\"",
Expand Down
2 changes: 1 addition & 1 deletion bucket/swift-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"installer": {
"script": [
"wix.exe burn extract \"$dir\\$fname\" -o \"$dir\\extracted\" -oba \"$dir\\extracted\"",
"$productVersion = ([xml](Get-Content -Raw \"$dir\\extracted\\manifest.xml\" -Encoding utf8)).BurnManifest.Registration.Version",
"$productVersion = '0.0.0'",
"Get-ChildItem \"$dir\\extracted\\WixAttachedContainer\\*.msi\" | ForEach-Object {",
" if ($_.Name -match 'rtl.msi') {",
" Expand-MsiArchive $_ \"$dir\\Runtimes\\usr\\bin\"",
Expand Down

0 comments on commit 0789c51

Please sign in to comment.