Fixed incorrect OS detection

This commit is contained in:
Eduard Urbach 2025-01-31 21:50:35 +01:00
parent 6163ba547e
commit 8de582abf6
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
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"
}