mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-04 21:53:37 +03:00
10 lines
235 B
Go
10 lines
235 B
Go
package features
|
|
|
|
import "golang.org/x/sys/windows"
|
|
|
|
func init() {
|
|
version := windows.RtlGetVersion()
|
|
WindowsMajorVersion = version.MajorVersion
|
|
WindowsMinorVersion = version.MinorVersion
|
|
WindowsBuildNumber = version.BuildNumber
|
|
}
|