Skip to content

Commit

Permalink
add .ipa to list of downloadable app options (fix #3268)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed Jul 31, 2014
1 parent 3c1914b commit a4d17b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/devices/device.js
Expand Up @@ -117,7 +117,7 @@ Device.prototype.configureDownloadedApp = function (cb) {
logger.error("Failed downloading app from appUrl " + appUrl);
cb(err);
}
} else if (ext === ".zip") {
} else if (ext === ".zip" || ext === ".ipa") {
try {
this.downloadAndUnzipApp(url.format(appUrl), function (zipErr, appPath) {
if (zipErr) {
Expand All @@ -135,7 +135,8 @@ Device.prototype.configureDownloadedApp = function (cb) {
cb(err);
}
} else {
cb("App URL (" + this.args.app + ") didn't seem to point to a .zip or .apk file");
cb("App URL (" + this.args.app + ") didn't seem to point to a .zip, " +
".apk, or .ipa file");
}
};

Expand Down

1 comment on commit a4d17b8

@johnny2k
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you.

Please sign in to comment.