version follow powertoys

This commit is contained in:
vanzue
2025-12-05 16:59:52 +08:00
parent 429b0e18f3
commit c77717360a
3 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?> <?include $(sys.CURRENTDIR)\Common.wxi?>
<?define CmdPalExtPowerToysBuildDir="$(var.BinDir)\WinUI3Apps\CmdPalExtensions\Microsoft.CmdPal.Ext.PowerToys\"?> <?define CmdPalExtPowerToysBuildDir="$(var.BinDir)\WinUI3Apps\CmdPalExtensions\Microsoft.CmdPal.Ext.PowerToys\"?>
<?define CmdPalExtPowerToysVersion="$(var.Version).0"?> <?define CmdPalExtPowerToysVersion="$(var.Version)"?>
<Fragment> <Fragment>
<DirectoryRef Id="WinUI3AppsInstallFolder"> <DirectoryRef Id="WinUI3AppsInstallFolder">
<Directory Id="CmdPalExtensionsInstallFolder" Name="CmdPalExtensions"> <Directory Id="CmdPalExtensionsInstallFolder" Name="CmdPalExtensions">

View File

@@ -3,6 +3,7 @@
<PropertyGroup> <PropertyGroup>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems> <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Platform)' == 'x64'"> <PropertyGroup Condition="'$(Platform)' == 'x64'">
<DefineConstants>Version=$(Version);MonacoSRCHarvestPath=$(ProjectDir)..\..\x64\$(Configuration)\Assets\Monaco\monacoSRC;CmdPalVersion=$(CmdPalVersion)</DefineConstants> <!-- THIS IS AN INNER LOOP OPTIMIZATION <DefineConstants>Version=$(Version);MonacoSRCHarvestPath=$(ProjectDir)..\..\x64\$(Configuration)\Assets\Monaco\monacoSRC;CmdPalVersion=$(CmdPalVersion)</DefineConstants> <!-- THIS IS AN INNER LOOP OPTIMIZATION
The build pipeline builds the Settings and Launcher projects for Publication The build pipeline builds the Settings and Launcher projects for Publication

View File

@@ -8,9 +8,9 @@
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>
<PublishProfile>win-$(Platform).pubxml</PublishProfile> <PublishProfile>win-$(Platform).pubxml</PublishProfile>
<PackageVersion>$(Version)</PackageVersion> <PackageVersion>$(Version)</PackageVersion>
<!-- Force MSIX package version to align with the global PowerToys version --> <!-- Keep the MSIX version in sync with the PowerToys version -->
<AppxPackageVersion>$(Version).0</AppxPackageVersion> <AppxPackageVersion>$(Version)</AppxPackageVersion>
<ApplicationDisplayVersion>$(Version).0</ApplicationDisplayVersion> <ApplicationDisplayVersion>$(Version)</ApplicationDisplayVersion>
<EnableMsixTooling>true</EnableMsixTooling> <EnableMsixTooling>true</EnableMsixTooling>
<OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPalExtensions\$(MSBuildProjectName)\</OutputPath> <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\WinUI3Apps\CmdPalExtensions\$(MSBuildProjectName)\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>