Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Is64Arch ¶ added in v1.26.0
func Is64Arch() bool
Is64Arch detects if program running on 64bits architecture
func Locale ¶ added in v1.21.0
func Locale() string
Locale returns the locale set for the user and falls back to the locale set for the system if unset. Returns "en-US" if all of them are unset.
func RefreshEnv ¶ added in v1.22.1
func RefreshEnv()
RefreshEnv refresh Windows environment https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-sendmessagetimeoutw
func SetConsoleTitle ¶
SetConsoleTitle sets windows console title
Types ¶
type Version ¶
Version identifies a Windows version by major, minor, and build number.
func GetVersion ¶ added in v1.30.0
GetVersion returns the Windows version information. Applications not manifested for Windows 8.1 or Windows 10 will return the Windows 8 OS version value (6.2). For a table of version numbers see: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724833(v=vs.85).aspx