Skip to content

Commit 92087bc

Browse files
committed
fix usage
1 parent a1aaabd commit 92087bc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ElectronNET.CLI/Commands/BuildCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public Task<bool> ExecuteAsync()
3131
SimpleCommandLineParser parser = new SimpleCommandLineParser();
3232
parser.Parse(_args);
3333

34-
var desiredPlatform = parser.Arguments["/target"][0];
34+
var desiredPlatform = parser.Arguments["target"][0];
3535
string specifiedFromCustom = string.Empty;
36-
if (desiredPlatform == "custom" && parser.Arguments["/target"].Length > 1)
36+
if (desiredPlatform == "custom" && parser.Arguments["target"].Length > 1)
3737
{
38-
specifiedFromCustom = parser.Arguments["/target"][1];
38+
specifiedFromCustom = parser.Arguments["target"][1];
3939
}
4040

4141
var platformInfo = GetTargetPlatformInformation.Do(desiredPlatform, specifiedFromCustom);

ElectronNET.sln

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
4-
VisualStudioVersion = 15.0.27004.2002
4+
VisualStudioVersion = 15.0.27130.2024
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElectronNET.WebApp", "ElectronNET.WebApp\ElectronNET.WebApp.csproj", "{7C048379-401C-4345-B5E7-BE232DEA8157}"
77
EndProject
@@ -32,6 +32,8 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "ElectronNET.Host", "Electro
3232
EndProject
3333
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2914CCF7-27C2-42AE-849A-2F0C1BC7CDFA}"
3434
ProjectSection(SolutionItems) = preProject
35+
buildAll.cmd = buildAll.cmd
36+
buildAll.sh = buildAll.sh
3537
buildReleaseNuGetPackages.cmd = buildReleaseNuGetPackages.cmd
3638
EndProjectSection
3739
EndProject

0 commit comments

Comments
 (0)