correct issues with exe naming on windows

This commit is contained in:
Travis McLane
2020-04-06 13:57:10 -05:00
committed by Lea Anthony
parent b232b608fa
commit 8d1238289f
2 changed files with 1 additions and 3 deletions

View File

@@ -223,7 +223,7 @@ func BuildNative(binaryName string, forceRebuild bool, buildMode string, project
if binaryName != "" {
// Alter binary name based on OS
switch runtime.GOOS {
switch projectOptions.Platform {
case "windows":
if !strings.HasSuffix(binaryName, ".exe") {
binaryName += ".exe"