Fix Wix4UtilCA BinaryRef and README.txt

This commit is contained in:
hustcer 2025-05-07 21:06:34 +08:00
parent 9813ecbb66
commit ce92cb381f
3 changed files with 5 additions and 4 deletions

View File

@ -200,6 +200,7 @@ if $os in ['macos-latest'] or $USE_UBUNTU {
cd $src; cd wix; hr-line; mkdir nu cd $src; cd wix; hr-line; mkdir nu
# Wix need the binaries be stored in nu folder # Wix need the binaries be stored in nu folder
cp -r ($'($dist)/*' | into glob) nu/ cp -r ($'($dist)/*' | into glob) nu/
cp $'($dist)/README.txt' .
ls -f nu/* | print ls -f nu/* | print
let arch = if $nu.os-info.arch =~ 'x86_64' { 'x64' } else { 'arm64' } 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)'

View File

@ -4,7 +4,7 @@
<OutputName>nu-$(Platform)</OutputName> <OutputName>nu-$(Platform)</OutputName>
<UpgradeCode>82D756D2-19FA-4F09-B10F-64942E89F364</UpgradeCode> <UpgradeCode>82D756D2-19FA-4F09-B10F-64942E89F364</UpgradeCode>
<DefineConstants> <DefineConstants>
SourceDir=$(MSBuildProjectDirectory)\nu SourceDir=$(MSBuildProjectDirectory)\nu;
</DefineConstants> </DefineConstants>
<SuppressValidation>true</SuppressValidation> <SuppressValidation>true</SuppressValidation>
<SuppressIces>ICE80</SuppressIces> <SuppressIces>ICE80</SuppressIces>

View File

@ -224,7 +224,7 @@
Impersonate="yes" Impersonate="yes"
Execute="deferred" Execute="deferred"
DllEntry="WixQuietExec" DllEntry="WixQuietExec"
BinaryRef="Wix4UtilCA_X64" /> BinaryRef="Wix4UtilCA_$(sys.BUILDARCHSHORT)" />
<InstallExecuteSequence> <InstallExecuteSequence>
<Custom Action="ReplacePathsInWindowsTerminalProfile" Before="InstallFinalize" <Custom Action="ReplacePathsInWindowsTerminalProfile" Before="InstallFinalize"