diff --git a/capacitor.config.json b/capacitor.config.json index 8cece88..7735185 100644 --- a/capacitor.config.json +++ b/capacitor.config.json @@ -1,7 +1,7 @@ { "appId": "dev.ncode.sp404layers", "appName": "SP-404MK2 layers", - "webDir": "www", + "webDir": "dist", "android": { "backgroundColor": "#151719", "allowMixedContent": false diff --git a/package.json b/package.json index 26b652a..3ad17a0 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,9 @@ "description": "SP-404MK2 combo trainer, wrapped as an Android app", "scripts": { "sync:www": "bash scripts/sync-www.sh", - "sync": "npm run sync:www && npx cap sync android", + "sync": "npm run build && npx cap sync android", "apk": "npm run sync && cd android && ./gradlew assembleDebug", + "apk:phase1": "npm run sync:www && npx cap sync android && cd android && ./gradlew assembleDebug", "install:apk": "adb install -r android/app/build/outputs/apk/debug/app-debug.apk", "device:awake": "bash scripts/device.sh awake", "device:keep-awake": "bash scripts/device.sh keep-awake",