Skip to content

Commit 3b9c47f

Browse files
committed
javaruntime-preventasktoolbar: fix installation on 32-bit systems
1 parent 1045082 commit 3b9c47f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

javaruntime-preventasktoolbar/javaruntime-preventasktoolbar.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>javaruntime-preventasktoolbar</id>
5-
<version>1.0</version>
5+
<version>1.1</version>
66
<title>Prevent Ask.com toolbar installation by Java</title>
77
<authors>Danilo Roascio</authors>
88
<owners>Jakub Bereżański</owners>

javaruntime-preventasktoolbar/tools/chocolateyInstall.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ try
33
$ErrorActionPreference = 'Stop'
44
Set-StrictMode -Version 2
55

6-
$is64 = Get-ProcessorBits -eq 64
6+
$is64 = (Get-ProcessorBits) -eq 64
77
if ($is64 -and ([IntPtr]::Size -eq 4)) {
88
# no way to access 64-bit registry when running under WOW64 and PS 2.0 (.NET 2.0)
99
throw "This package cannot be fully installed using 32-bit PowerShell on a 64-bit system. Please install this package using 64-bit PowerShell."

javaruntime-preventasktoolbar/tools/chocolateyUninstall.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ try
33
$ErrorActionPreference = 'Stop'
44
Set-StrictMode -Version 2
55

6-
$is64 = Get-ProcessorBits -eq 64
6+
$is64 = (Get-ProcessorBits) -eq 64
77
if ($is64 -and ([IntPtr]::Size -eq 4)) {
88
# no way to access 64-bit registry when running under WOW64 and PS 2.0 (.NET 2.0)
99
throw "This package cannot be fully uninstalled using 32-bit PowerShell on a 64-bit system. Please uninstall this package using 64-bit PowerShell."

0 commit comments

Comments
 (0)