[ci skip]

This commit is contained in:
hustcer 2025-05-06 08:14:57 +08:00
parent fcab8c20df
commit 9813fee6d3
2 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,7 @@ if $os in ['macos-latest'] or $USE_UBUNTU {
cp -r ($'($dist)/*' | into glob) nu/
ls -f nu/* | print
let arch = if $nu.os-info.arch =~ 'x86_64' { 'x64' } else { 'arm64' }
./nu/nu.exe -c $'NU_RELEASE_VERSION=($version) dotnet build -c Release -p:Platform=($arch)'
./nu/nu.exe -c $'NU_RELEASE_VERSION=($version) dotnet build -c Release -p:Platform=($arch)'
glob **/*.msi | print
# Workaround for https://github.com/softprops/action-gh-release/issues/280
let wixRelease = (glob **/*.msi | where $it =~ bin | get 0 | str replace --all '\' '/')

View File

@ -21,6 +21,7 @@
Manufacturer="$(var.Manufacturer)" >
<MajorUpgrade
MigrateFeatures="yes"
Schedule="afterInstallInitialize"
DowngradeErrorMessage="A newer version of [ProductName] is already installed. Setup will now exit."/>