specinfra 2.30.2 → 2.30.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0b12570c7c6cfb896521795f6d0b489c4aba9e2
|
4
|
+
data.tar.gz: 283d64bf8f36b18eb4e138195516796860d17fe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c03e852029363a1ac401f5678b3d39a7336c2385ab95f37b64ca1547b35d4fe9e0cfab3a7b9d9e4751e2d627964ea723a1724c51eeddca8efab410e51cb3f2cf
|
7
|
+
data.tar.gz: 30236cef747d93107a440cb9cc1af5707c65666d8253afe50d5c79ade891ee19461ac3085a215f20f8913a1eec91a2701d0e867e87a9909832be6f465bc6d1aa
|
@@ -4,12 +4,27 @@ function FindInstalledApplication
|
|
4
4
|
|
5
5
|
if ((Get-WmiObject win32_operatingsystem).OSArchitecture -notmatch '64')
|
6
6
|
{
|
7
|
-
|
7
|
+
$keys= (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*')
|
8
|
+
$possible_path= 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'
|
9
|
+
if (Test-Path $possible_path)
|
10
|
+
{
|
11
|
+
$keys+= (Get-ItemProperty $possible_path)
|
12
|
+
}
|
8
13
|
}
|
9
14
|
else
|
10
15
|
{
|
11
|
-
|
12
|
-
|
16
|
+
$keys = (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*','HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*')
|
17
|
+
$possible_path= 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'
|
18
|
+
if (Test-Path $possible_path)
|
19
|
+
{
|
20
|
+
$keys+= (Get-ItemProperty $possible_path)
|
21
|
+
}
|
22
|
+
$possible_path= 'HKCU:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
|
23
|
+
if (Test-Path $possible_path)
|
24
|
+
{
|
25
|
+
$keys+= (Get-ItemProperty $possible_path)
|
26
|
+
}
|
27
|
+
}
|
13
28
|
|
14
29
|
if ($appVersion -eq $null) {
|
15
30
|
@($keys | Where-Object {$_.DisplayName -like $appName -or $_.PSChildName -like $appName}).Length -gt 0
|
data/lib/specinfra/version.rb
CHANGED
data/wercker.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.30.
|
4
|
+
version: 2.30.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|