Skip to content

Commit c8254e2

Browse files
author
Marco Achtziger
committed
added support for linux-arm platform
1 parent c4c0bba commit c8254e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ public static GetTargetPlatformInformationResult Do(string desiredPlatform, stri
3333
netCorePublishRid = "linux-x64";
3434
electronPackerPlatform = "linux";
3535
break;
36+
case "linux-arm":
37+
netCorePublishRid = "linux-arm";
38+
electronPackerPlatform = "linux";
39+
break;
3640
case "custom":
3741
var splittedSpecified = specifiedPlatfromFromCustom.Split(';');
3842
netCorePublishRid = splittedSpecified[0];

ElectronNET.CLI/Commands/BuildCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public Task<bool> ExecuteAsync()
4848
string specifiedFromCustom = string.Empty;
4949
if (desiredPlatform == "custom" && parser.Arguments[_paramTarget].Length > 1)
5050
{
51-
specifiedFromCustom = parser.Arguments["target"][1];
51+
specifiedFromCustom = parser.Arguments[_paramTarget][1];
5252
}
5353

5454
string configuration = "Release";

0 commit comments

Comments
 (0)