feat: auto-restore cinny submodule after android build (stash/pop)
Some checks failed
Build / increment-version (push) Successful in 5s
Build / build-linux (push) Failing after 27s
Build / build-windows (push) Has been cancelled
Build / build-android (push) Has been cancelled
Build / create-release (push) Has been cancelled

This commit is contained in:
2026-04-07 15:28:55 +10:00
parent b84392b51a
commit 740a991be0
4 changed files with 75 additions and 4 deletions

View File

@@ -7,11 +7,12 @@
},
"scripts": {
"android:prepare": "node scripts/apply-overlay.mjs && cd cinny && npm install && npm run build && npx cap sync android",
"android:restore": "node scripts/restore-cinny.mjs",
"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",
"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"
"android:apk": "npm run android:prepare && cd cinny/android && gradlew.bat 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:aab": "npm run android:prepare && cd cinny/android && gradlew.bat bundleRelease && cd ../.. && node scripts/restore-cinny.mjs"
},
"keywords": [],
"author": {