Sha256: 41b1901d2f88842b75408981a110462706776e5b14e1f1c6eb84d4ce5178fe26
Contents?: true
Size: 807 Bytes
Versions: 5
Compression:
Stored size: 807 Bytes
Contents
module Acouchi class ApkInstaller def initialize configuration @configuration = configuration @apk_path = File.join(configuration.project_path, "bin", configuration.apk) end def install_apk if @configuration.device ProcessLauncher.new(Executables.adb,"-s",@configuration.device,"install",@apk_path).start_and_crash_if_process_fails else ProcessLauncher.new(Executables.adb,"install",@apk_path).start_and_crash_if_process_fails end end def uninstall_apk if @configuration.device ProcessLauncher.new(Executables.adb,"-s",@configuration.device,"uninstall",@configuration.target_package).start else ProcessLauncher.new(Executables.adb,"uninstall",@configuration.target_package).start end end end end
Version data entries
5 entries across 5 versions & 1 rubygems