diff --git a/package.json b/package.json index a7d34fb..58556db 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,10 @@ "test": "npm i --silent && tsc --noEmit && eslint && vitest run --reporter=dot --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'All tests passed!'", "deploy": "npm i --silent && npm run build && npx -y nostr-deploy-cli deploy --skip-setup", "android:init": "npm run android:build:apk && npx cap add android && npx cap sync android", - "android:sync": "npm run android:build:apk && npx cap sync android", + "android:sync": "npm run android:build:apk && npx cap sync android && node scripts/sync-android-version.mjs", "android:open": "npx cap open android", - "android:build": "npm run android:build:apk && npx cap sync android && cd android && ./gradlew assembleRelease", + "android:version": "node scripts/sync-android-version.mjs", + "android:build": "npm run android:build:apk && npx cap sync android && node scripts/sync-android-version.mjs && cd android && ./gradlew assembleRelease", "android:build:apk": "CAPACITOR_BUILD=1 vite build && sed -i 's|||g' dist/index.html && sed -i 's|