Sha256: c8e096f9603d5b9d007c1dd6d5e9dc3b8623da60a1d5dbc28f0affe4c21eebc5

Contents?: true

Size: 257 Bytes

Versions: 19

Compression:

Stored size: 257 Bytes

Contents

def adb_command
  if is_windows?
    %Q("#{ENV["ANDROID_HOME"]}\\platform-tools\\adb.exe" #{ENV["ADB_DEVICE_ARG"]})
  else
    %Q(#{ENV["ANDROID_HOME"]}/platform-tools/adb #{ENV["ADB_DEVICE_ARG"]})
  end
end

def is_windows?
   ENV["OS"] == "Windows_NT"
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
calabash-android-0.1.0 lib/calabash-android/management/adb.rb
calabash-android-0.0.19 lib/calabash-android/management/adb.rb
calabash-android-0.0.18 lib/calabash-android/management/adb.rb
calabash-android-0.0.17 lib/calabash-android/management/adb.rb
calabash-android-0.0.16 lib/calabash-android/management/adb.rb
calabash-android-0.0.15 lib/calabash-android/management/adb.rb
calabash-android-0.0.14 lib/calabash-android/management/adb.rb
calabash-android-0.0.13 lib/calabash-android/management/adb.rb
calabash-android-0.0.12 lib/calabash-android/management/adb.rb
calabash-android-0.0.11 lib/calabash-android/management/adb.rb
calabash-android-0.0.10 lib/calabash-android/management/adb.rb
calabash-android-0.0.8 lib/calabash-android/management/adb.rb
calabash-android-0.0.7 lib/calabash-android/management/adb.rb
calabash-android-0.0.6 lib/calabash-android/management/adb.rb
calabash-android-0.0.5 lib/calabash-android/management/adb.rb
calabash-android-0.0.4 lib/calabash-android/management/adb.rb
calabash-android-0.0.3 lib/calabash-android/management/adb.rb
calabash-android-0.0.2 lib/calabash-android/management/adb.rb
calabash-android-0.0.1 lib/calabash-android/management/adb.rb