update global constants to allow for windows 10
parent
af137f3ec3
commit
5b8b15e578
|
@ -88,6 +88,7 @@ module OperatingSystems
|
|||
SEVEN = "7"
|
||||
EIGHT = "8"
|
||||
EIGHTONE = "8.1"
|
||||
TEN = "10.0"
|
||||
end
|
||||
|
||||
UNKNOWN = "Unknown"
|
||||
|
@ -108,6 +109,7 @@ module OperatingSystems
|
|||
WINDOWS_2012 = /^(?:Microsoft )?Windows 2012/
|
||||
WINDOWS_8 = /^(?:Microsoft )?Windows 8/
|
||||
WINDOWS_81 = /^(?:Microsoft )?Windows 8\.1/
|
||||
WINDOWS_10 = /^(?:Microsoft )?Windows 10/
|
||||
|
||||
LINUX = /^Linux/i
|
||||
MAC_OSX = /^(?:Apple )?Mac OS X/
|
||||
|
@ -138,4 +140,4 @@ LICENSES =
|
|||
BSD_LICENSE,
|
||||
ARTISTIC_LICENSE,
|
||||
UNKNOWN_LICENSE
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue