Merge pull request #200 from yfrans/patch-1

Added Windows 32bit support for the start command
This commit is contained in:
Robert Muehsig
2019-01-19 21:36:21 +01:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ namespace ElectronNET.CLI.Commands.Actions
default:
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
netCorePublishRid = "win-x64";
netCorePublishRid = $"win-x{(Environment.Is64BitOperatingSystem ? "64" : "86")}";
electronPackerPlatform = "win32";
}
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))