Fixed incorrect OS detection

This commit is contained in:
Eduard Urbach 2025-01-31 21:50:35 +01:00
parent 2ae8b04593
commit 7fb5c8407f
Signed by: eduard
GPG key ID: 49226B848C78F6C8
8 changed files with 65 additions and 25 deletions

View file

@ -37,7 +37,7 @@ func (build *Build) Executable() string {
path = fromDirectoryName(path)
}
if config.TargetOS == "windows" {
if config.TargetOS == config.Windows {
path += ".exe"
}