Skip to content

Commit 7db609c

Browse files
Merge pull request #607 from gpgpublickey/build_adds_help_publish_parameters
Adds help regarding to modify publish parameters
2 parents 127408a + 9892a90 commit 7db609c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ElectronNET.CLI/Commands/BuildCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public class BuildCommand : ICommand
2323
"Optional: '/install-modules' to force node module install. Implied by '/package-json'" + Environment.NewLine +
2424
"Optional: '/Version' to specify the version that should be applied to both the `dotnet publish` and `electron-builder` commands. Implied by '/Version'" + Environment.NewLine +
2525
"Optional: '/p:[property]' or '/property:[property]' to pass in dotnet publish properties. Example: '/property:Version=1.0.0' to override the FileVersion" + Environment.NewLine +
26-
"Full example for a 32bit debug build with electron prune: build /target custom win7-x86;win32 /dotnet-configuration Debug /electron-arch ia32 /electron-params \"--prune=true \"";
26+
"Full example for a 32bit debug build with electron prune: build /target custom win7-x86;win32 /dotnet-configuration Debug /electron-arch ia32 /electron-params \"--prune=true \"" + Environment.NewLine +
27+
"Full example to pass publish parameters: build /PublishReadyToRun false /PublishSingleFile false /target custom win7-x86;win32 /dotnet-configuration Debug /electron-arch ia32 /electron-params \"--prune=true \"";
2728

2829
public static IList<CommandOption> CommandOptions { get; set; } = new List<CommandOption>();
2930

0 commit comments

Comments
 (0)