Closed WeidiDeng closed 5 months ago
Maybe the condition should only be the target OS? I don't think the platform we're running on matters for the extension (except for choosing the default GOOS I guess). So maybe if the env var is empty it can look at runtime?
@WeidiDeng, is this ready? We need to do a hotfix release, and this is a good change.
Thank you, by the way, @WeidiDeng !
Previously ".exe" will be added automatically when on windows, but not when cross compiling.