guess_os 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/guess_os/type/windows.rb +1 -1
- data/lib/guess_os/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9775402b676531ba769ce92a92584091d3626e59ce26b8e0d9eba97aff6f2035
|
4
|
+
data.tar.gz: 0342af311861c841af1969419ffc06828f70a2682d35d8cc8f9d53dbb949f9fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ab22ebbe3034f5935dcb4a3d8af2ed949f777445aaff617c98f645048174aee492199518057714e08ba0ec59a7b70b109d9db461554f7fe364898a36127d5d8
|
7
|
+
data.tar.gz: 1d763b88e2e8ce07b411e77291fc8ce2075bfe2b862a5249441ba868897abe0e23800942ed7b9ca679812ff302cb0245ea1785c8497a317998097510ade1aa55
|
@@ -13,7 +13,7 @@ class Windows
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.try_with_regedit(conn)
|
16
|
-
command =
|
16
|
+
command = "reg query \"HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\" /t REG_SZ"
|
17
17
|
conn.exec(command)
|
18
18
|
|
19
19
|
identified = conn.ok && conn.last_output.include?("Windows")
|
data/lib/guess_os/version.rb
CHANGED