Skip to content

Commit 597df77

Browse files
Merge pull request #200 from yfrans/patch-1
Added Windows 32bit support for the start command
2 parents 63c2bcd + 5d446b2 commit 597df77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ElectronNET.CLI/Commands/Actions/GetTargetPlatformInformation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static GetTargetPlatformInformationResult Do(string desiredPlatform, stri
4545
default:
4646
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
4747
{
48-
netCorePublishRid = "win-x64";
48+
netCorePublishRid = $"win-x{(Environment.Is64BitOperatingSystem ? "64" : "86")}";
4949
electronPackerPlatform = "win32";
5050
}
5151
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))

0 commit comments

Comments
 (0)