mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 12:03:28 +08:00
Merge pull request #415 from infil00p/CB-13530
CB-13530: Fix the utility method for finding the built APK for generic APKs
This commit is contained in:
commit
a1195cefd5
@ -109,7 +109,7 @@ function findOutputApksHelper (dir, build_type, arch) {
|
|||||||
var shellSilent = shell.config.silent;
|
var shellSilent = shell.config.silent;
|
||||||
shell.config.silent = true;
|
shell.config.silent = true;
|
||||||
|
|
||||||
var ret = shell.ls(path.join(dir, '*.apk')).filter(function (candidate) {
|
var ret = shell.ls(path.join(dir, build_type, '*.apk')).filter(function (candidate) {
|
||||||
var apkName = path.basename(candidate);
|
var apkName = path.basename(candidate);
|
||||||
// Need to choose between release and debug .apk.
|
// Need to choose between release and debug .apk.
|
||||||
if (build_type === 'debug') {
|
if (build_type === 'debug') {
|
||||||
|
Loading…
Reference in New Issue
Block a user