lib/beaker/host/windows/pkg.rb in beaker-1.17.7 vs lib/beaker/host/windows/pkg.rb in beaker-1.18.0
- old
+ new
@@ -33,9 +33,15 @@
def uninstall_package(name, cmdline_args = '')
raise "Package #{name} cannot be uninstalled on #{self}"
end
+ #Examine the host system to determine the architecture, overrides default host determine_if_x86_64 so that wmic is used
+ #@return [Boolean] true if x86_64, false otherwise
+ def determine_if_x86_64
+ identify_windows_architecture =~ /64/
+ end
+
private
# @api private
def identify_windows_architecture
arch = nil