diff --git a/cmd/helpers.go b/cmd/helpers.go index e43949050..a4b620720 100644 --- a/cmd/helpers.go +++ b/cmd/helpers.go @@ -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" diff --git a/cmd/package.go b/cmd/package.go index 7f6183a39..ceb9a44b4 100644 --- a/cmd/package.go +++ b/cmd/package.go @@ -129,8 +129,6 @@ func (b *PackageHelper) packageOSX(po *ProjectOptions) error { // We need to build! return fmt.Errorf("Target '%s' not available. Has it been compiled yet?", exe) } - fmt.Printf("Executable: %s\n", source) - // Remove the existing package os.RemoveAll(appname)