Merge pull request #119 from 80er/master

added support for linux-arm platform
This commit is contained in:
Robert Muehsig
2018-04-19 21:57:18 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -33,6 +33,10 @@ namespace ElectronNET.CLI.Commands.Actions
netCorePublishRid = "linux-x64";
electronPackerPlatform = "linux";
break;
case "linux-arm":
netCorePublishRid = "linux-arm";
electronPackerPlatform = "linux";
break;
case "custom":
var splittedSpecified = specifiedPlatfromFromCustom.Split(';');
netCorePublishRid = splittedSpecified[0];

View File

@@ -48,7 +48,7 @@ namespace ElectronNET.CLI.Commands
string specifiedFromCustom = string.Empty;
if (desiredPlatform == "custom" && parser.Arguments[_paramTarget].Length > 1)
{
specifiedFromCustom = parser.Arguments["target"][1];
specifiedFromCustom = parser.Arguments[_paramTarget][1];
}
string configuration = "Release";