File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 <PackageVersion Include =" Avalonia.Controls.DataGrid" Version =" 11.3.0" />
1010 <PackageVersion Include =" Avalonia.Desktop" Version =" 11.3.0" />
1111 <PackageVersion Include =" Avalonia.Diagnostics" Version =" 11.3.0" />
12- <PackageVersion Include =" CliFx" Version =" 2.3.6 " />
12+ <PackageVersion Include =" CliFx" Version =" 3.0.0 " />
1313 <PackageVersion Include =" Cogwheel" Version =" 2.1.1" />
1414 <PackageVersion Include =" CommunityToolkit.Mvvm" Version =" 8.4.2" />
1515 <PackageVersion Include =" CSharpier.MsBuild" Version =" 1.2.6" />
Original file line number Diff line number Diff line change 22#: package CliFx
33
44using CliFx;
5- using CliFx . Attributes ;
5+ using CliFx . Binding ;
66using CliFx . Infrastructure ;
77
8- return await new CliApplicationBuilder ( )
9- . AddCommand < PublishMacOSBundleCommand > ( )
10- . Build ( )
11- . RunAsync ( args ) ;
12-
138[ Command ( Description = "Publishes the GUI app as a macOS .app bundle." ) ]
149public class PublishMacOSBundleCommand : ICommand
1510{
@@ -21,16 +16,16 @@ public class PublishMacOSBundleCommand : ICommand
2116 private const string AppIconName = "AppIcon" ;
2217
2318 [ CommandOption ( "publish-dir" , Description = "Path to the publish output directory." ) ]
24- public required string PublishDirPath { get ; init ; }
19+ public required string PublishDirPath { get ; set ; }
2520
2621 [ CommandOption ( "icons-file" , Description = "Path to the .icns icons file." ) ]
27- public required string IconsFilePath { get ; init ; }
22+ public required string IconsFilePath { get ; set ; }
2823
2924 [ CommandOption ( "full-version" , Description = "Full version string (e.g. '1.2.3.4')." ) ]
30- public required string FullVersion { get ; init ; }
25+ public required string FullVersion { get ; set ; }
3126
3227 [ CommandOption ( "short-version" , Description = "Short version string (e.g. '1.2.3')." ) ]
33- public required string ShortVersion { get ; init ; }
28+ public required string ShortVersion { get ; set ; }
3429
3530 public async ValueTask ExecuteAsync ( IConsole console )
3631 {
You can’t perform that action at this time.
0 commit comments