mirror of
https://github.com/appium/appium.git
synced 2026-05-19 01:28:49 -05:00
Merge pull request #1166 from swapna-chennadi/master
Fix for Issue#1165
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ exports.unzipApp = function(zipPath, appExt, cb) {
|
||||
if (!error) {
|
||||
exports.unzipFile(zipPath, function(err, output) {
|
||||
if (!err) {
|
||||
var reg = new RegExp("inflating: (.+" + appExt + ")/?");
|
||||
var reg = new RegExp("(?:inflating|extracting): (.+" + appExt + ")/?");
|
||||
var match = reg.exec(output);
|
||||
if (match) {
|
||||
var appPath = path.resolve(path.dirname(zipPath), match[1]);
|
||||
|
||||
Reference in New Issue
Block a user