Fixed incorrect OS detection
This commit is contained in:
parent
2ae8b04593
commit
7fb5c8407f
8 changed files with 65 additions and 25 deletions
|
@ -37,7 +37,7 @@ func (build *Build) Executable() string {
|
|||
path = fromDirectoryName(path)
|
||||
}
|
||||
|
||||
if config.TargetOS == "windows" {
|
||||
if config.TargetOS == config.Windows {
|
||||
path += ".exe"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue