Permalink
Browse files

Added know global path for Linux and OS X to search for adb

  • Loading branch information...
1 parent dd91dd3 commit 5179a276a9d87c0cf0d2b93ee6ad0dbd016a53e2 @dtmilano committed Nov 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 AndroidViewClient/src/com/dtmilano/android/viewclient.py
@@ -838,9 +838,11 @@ def __obtainAdbPath():
possibleChoices.append(os.path.join("""C:\Program Files\Android\android-sdk\platform-tools""", adb))
possibleChoices.append(os.path.join("""C:\Program Files (x86)\Android\android-sdk\platform-tools""", adb))
elif osName.startswith('Linux'):
+ possibleChoices.append(os.path.join("opt", "android-sdk-linux", 'platform-tools', adb))
possibleChoices.append(os.path.join(HOME, "opt", "android-sdk-linux", 'platform-tools', adb))
possibleChoices.append(os.path.join(HOME, "android-sdk-linux", 'platform-tools', adb))
elif osName.startswith('Mac'):
+ possibleChoices.append(os.path.join("opt", "android-sdk-mac_x86", 'platform-tools', adb))
possibleChoices.append(os.path.join(HOME, "opt", "android-sdk-mac", 'platform-tools', adb))
possibleChoices.append(os.path.join(HOME, "android-sdk-mac", 'platform-tools', adb))
possibleChoices.append(os.path.join(HOME, "opt", "android-sdk-mac_x86", 'platform-tools', adb))

0 comments on commit 5179a27

Please sign in to comment.