Fix version check on Xiaomi devices by removing "open: Permission denied" from the output.

This commit is contained in:
Simo Kinnunen
2014-09-30 12:05:49 +09:00
parent f28af63d38
commit 4bb0c4cb82

View File

@@ -48,7 +48,7 @@ module.exports = syrup.serial()
log.info('Running version check')
return adb.shell(options.serial, util.format(
"export CLASSPATH='%s';" +
" exec app_process /system/bin '%s' --version"
" exec app_process /system/bin '%s' --version 2>/dev/null"
, installedPath
, resource.main
))