You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ElectronNET.CLI/Commands/BuildCommand.cs
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,9 @@ public class BuildCommand : ICommand
24
24
"Optional: '/install-modules' to force node module install. Implied by '/package-json'"+Environment.NewLine+
25
25
"Optional: '/Version' to specify the version that should be applied to both the `dotnet publish` and `electron-builder` commands. Implied by '/Version'"+Environment.NewLine+
26
26
"Optional: '/p:[property]' or '/property:[property]' to pass in dotnet publish properties. Example: '/property:Version=1.0.0' to override the FileVersion"+Environment.NewLine+
" to add additional dot net publish arguments."+Environment.NewLine+Environment.NewLine+
27
30
"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+
For certain scenarios additional `dotnet publish` arguments may be required. To add additional publish flags use the `/dotnet-publish` flag and add any additional publish flags after. For example if you want to skip the default nuget restore you can do that like this:
0 commit comments