From 85851d728854368c2b64aa93cb98b973c4aae245 Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Wed, 15 Apr 2026 22:14:14 +1000 Subject: [PATCH] fix: update version to 4.11.66 and streamline Android build scripts --- cinny | 2 +- overlay/src/app/utils/backgroundSync.ts | 2 +- package.json | 15 +++++---------- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/cinny b/cinny index 0659f3c..b3deb4d 160000 --- a/cinny +++ b/cinny @@ -1 +1 @@ -Subproject commit 0659f3c1b037c71555714d2795bcbf3593c67323 +Subproject commit b3deb4d518850fa8ddb157240485ffd54673ddf3 diff --git a/overlay/src/app/utils/backgroundSync.ts b/overlay/src/app/utils/backgroundSync.ts index f9c270e..1f44781 100644 --- a/overlay/src/app/utils/backgroundSync.ts +++ b/overlay/src/app/utils/backgroundSync.ts @@ -1,6 +1,6 @@ import { Capacitor, registerPlugin } from '@capacitor/core'; import type { MatrixClient } from 'matrix-js-sdk'; - + interface MatrixBackgroundSyncPlugin { /** Start the background sync service with the given Matrix credentials. */ start(options: { diff --git a/package.json b/package.json index 2836db0..37420ea 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,17 @@ { "name": "paarrot", - "version": "4.11.82", + "version": "4.11.66", "description": "Paarrot - A Matrix client based on Cinny", "engines": { "node": ">=18.0.0" }, "scripts": { - "android:prepare": "node scripts/apply-overlay.mjs && cd cinny && npm install && npm run build && npx cap sync android", - "android:patch-settings:linux": "sed -i 's|../node_modules/|../cinny/node_modules/|g' android/capacitor.settings.gradle", - "android:restore": "node scripts/restore-cinny.mjs", + "android:prepare": "node -e \"require('fs').copyFileSync('config.json', 'cinny/config.json')\" && cd cinny && npm run build && npx cap sync android", "android:open": "cd cinny && npx cap open android", "android:run": "cd cinny && npx cap run android", - "android:apk": "npm run android:prepare && cd cinny/android && gradlew.bat assembleDebug && cd ../.. && node scripts/restore-cinny.mjs", - "android:apk:linux": "npm run android:prepare && npm run android:patch-settings:linux && cd cinny/android && ./gradlew assembleDebug && cd ../.. && node scripts/restore-cinny.mjs", - "android:apk:release": "npm run android:prepare && cd cinny/android && gradlew.bat assembleRelease && cd ../.. && node scripts/restore-cinny.mjs", - "android:apk:release:linux": "npm run android:prepare && npm run android:patch-settings:linux && cd cinny/android && ./gradlew assembleRelease && cd ../.. && node scripts/restore-cinny.mjs", - "android:aab": "npm run android:prepare && cd cinny/android && gradlew.bat bundleRelease && cd ../.. && node scripts/restore-cinny.mjs", - "android:aab:linux": "npm run android:prepare && npm run android:patch-settings:linux && cd cinny/android && ./gradlew bundleRelease && cd ../.. && node scripts/restore-cinny.mjs" + "android:apk": "npm run android:prepare && cd cinny/android && gradlew.bat assembleDebug", + "android:apk:release": "npm run android:prepare && cd cinny/android && gradlew.bat assembleRelease", + "android:aab": "npm run android:prepare && cd cinny/android && gradlew.bat bundleRelease" }, "keywords": [], "author": {