nushell/wix/main.wixproj
2025-05-06 19:36:07 +08:00

35 lines
1.1 KiB
XML

<Project Sdk="WixToolset.Sdk/6.0.0">
<PropertyGroup>
<OutputType>Package</OutputType>
<OutputName>nu-$(Platform)</OutputName>
<UpgradeCode>82D756D2-19FA-4F09-B10F-64942E89F364</UpgradeCode>
<DefineConstants>
SourceDir=$(MSBuildProjectDirectory)\nu
</DefineConstants>
<SuppressValidation>true</SuppressValidation>
<SuppressIces>ICE80</SuppressIces>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'x64' ">
<InstallerPlatform>x64</InstallerPlatform>
<DefineConstants>$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'arm64' ">
<InstallerPlatform>arm64</InstallerPlatform>
<DefineConstants>$(DefineConstants)</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="WixToolset.UI.wixext" Version="6.0.0" />
<PackageReference Include="WixToolset.Util.wixext" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<BindPath Include="." />
<Content Include="nu.ico" />
<Content Include="License.rtf" />
</ItemGroup>
</Project>