File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,10 +145,13 @@ tasks.register<Exec>("packageCustomDmg"){
145145
146146tasks.register<Exec >(" packageCustomMsi" ){
147147 workingDir = file(" windows" )
148+ group = " compose desktop"
149+
148150 commandLine(
149151 " dotnet" ,
150152 " build" ,
151- " /p:Platform=x64"
153+ " /p:Platform=x64" ,
154+ " /p:DefineConstants=\" Version=$version ;\" "
152155 )
153156}
154157
Original file line number Diff line number Diff line change 11<Project Sdk =" WixToolset.Sdk/5.0.1" >
2+ <PropertyGroup >
3+ <OutputPath >..\build\compose\binaries\main\msi</OutputPath >
4+ <OutputName >Processing-$(Version)</OutputName >
5+ </PropertyGroup >
26 <ItemGroup >
37 <PackageReference Include =" WixToolset.UI.wixext" Version =" 5.0.1" />
48 </ItemGroup >
Original file line number Diff line number Diff line change 11<Wix xmlns =" http://wixtoolset.org/schemas/v4/wxs" xmlns : ui =" http://wixtoolset.org/schemas/v4/wxs/ui" >
2- <Package Name =" Processing" Manufacturer =" Processing Foundation" Version =" 0.0.1 " UpgradeCode =" 34577f3b-7cbe-4c5e-827d-5fe5ce9d371c" >
2+ <Package Name =" Processing" Manufacturer =" Processing Foundation" Version =" $(Version) " UpgradeCode =" 34577f3b-7cbe-4c5e-827d-5fe5ce9d371c" >
33 <Icon Id =" icon.ico" SourceFile =" ..\..\build\windows\processing.ico" />
44 <Property Id =" ARPPRODUCTICON" Value =" icon.ico" />
55
1010 <WixVariable Id =" WixUILicenseRtf" Value =" license.rtf" />
1111 <WixVariable Id =" WixUIDialogBmp" Value =" background.png" />
1212 <WixVariable Id =" WixUIBannerBmp" Value =" banner.png" />
13- <Feature Id =" MainApplication" Title =" Main Application " Level =" 1" >
13+ <Feature Id =" MainApplication" Title =" Processing " Level =" 1" >
1414 <Files Include =" ..\build\compose\binaries\main\app\Processing\**" />
1515 <ComponentRef Id =" ApplicationShortcut" />
1616 </Feature >
You can’t perform that action at this time.
0 commit comments