PaulKinlan / chromium-android-installer

Install Chromium Test Shell on Android
65 stars 28 forks source link

Slightly robustified installer that passes adb flags; added update, delete scripts. #2

Closed michaelsanford closed 10 years ago

michaelsanford commented 11 years ago

I came across your awesome Chromium Test Shell installer this morning and made a few modifications for myself. Here you go, if you're interested!

Most notably, the script tracks requirements and aborts (exit 1) if they're unmet, like curl failing to download the package. This should make it slightly more reliable in automated, unattended or triggered workflows.

I also added a simple updater and deleter (the latter of which is totally unnecessary but what the heck…)

I've tested it out in the emulator and my physical Nexus 7: both seem to work fine.

:warning: I'm not entirely confident on the use of adb shell pm uninstall -k org.chromium.chrome.testshell on update (line 18) and delete (line 14), but adb complained when I tried adb uninstall -k by itself. Please do fix that if I've gotten it wrong.

PaulKinlan commented 10 years ago

Sorry I missed this, will get it merged asap

michaelsanford commented 10 years ago

No problem, hope it's useful!

PaulKinlan commented 10 years ago

Very useful :) On 5 Nov 2013 16:51, "Michael Sanford" notifications@github.com wrote:

No problem, hope it's useful!

— Reply to this email directly or view it on GitHubhttps://github.com/PaulKinlan/chromium-android-installer/pull/2#issuecomment-27790215 .