Skip to content
Permalink
Browse files

fix(app): Copy all output folder on cordova/capacitor builds instead …

…of hardcoding path (allows .aab packages too) #5499
  • Loading branch information...
rstoenescu committed Nov 7, 2019
1 parent fd2486f commit f6048bb8e5d4e92379dff205c0b3a5dba14a8b9f
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/lib/capacitor/index.js
  2. +1 −1 app/lib/cordova/index.js
@@ -105,7 +105,7 @@ class CapacitorRunner {

async __buildAndroid (argv, cfg) {
const buildPath = appPaths.resolve.capacitor(
'android/app/build/outputs/apk/' + (this.ctx.debug ? 'debug' : 'release')
'android/app/build/outputs'
)

// Remove old build output
@@ -68,7 +68,7 @@ class CordovaRunner {
const cfg = quasarConfig.getBuildConfig()
const buildPath = appPaths.resolve.cordova(
this.target === 'android'
? 'platforms/android/app/build/outputs/apk/' + (this.ctx.debug ? 'debug' : 'release')
? 'platforms/android/app/build/outputs'
: 'platforms/ios/build/emulator'
)

0 comments on commit f6048bb

Please sign in to comment.
You can’t perform that action at this time.