Skip to content

Commit

Permalink
Fix Windows 2019 detection (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
kke authored Apr 14, 2021
1 parent bf6c505 commit a72f6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/windows/windows2019.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Windows2019 struct {
func init() {
registry.RegisterOSModule(
func(os rig.OSVersion) bool {
return os.ID == "windows-10.0.17763"
return os.ID == "windows" && os.Version == "10.0.17763"
},
func() interface{} {
return Windows2019{}
Expand Down

0 comments on commit a72f6c4

Please sign in to comment.