mirror of
https://github.com/taigrr/wails.git
synced 2026-04-16 19:55:05 -07:00
correct issues with exe naming on windows
This commit is contained in:
committed by
Lea Anthony
parent
b232b608fa
commit
8d1238289f
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user