From 1b97ac08fd1b44db267e65864c9e3cfccd956a71 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Tue, 17 Feb 2026 18:57:27 +0800 Subject: [PATCH] fix(electron): preserve electron-plugins.js during clean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exclude electron/src/rt/electron-plugins.js from clean in build-electron.sh so the hand-maintained plugin list is not deleted. Update Podfile.lock (TimesafariDailyNotificationPlugin 1.1.0 → 1.1.6) and electron package-lock.json. --- electron/package-lock.json | 13 +++---------- ios/App/Podfile.lock | 4 ++-- scripts/build-electron.sh | 4 ++-- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/electron/package-lock.json b/electron/package-lock.json index 9cf915f4..86124edf 100644 --- a/electron/package-lock.json +++ b/electron/package-lock.json @@ -56,6 +56,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/@capacitor-community/sqlite/-/sqlite-6.0.2.tgz", "integrity": "sha512-sj+2SPLu7E/3dM3xxcWwfNomG+aQHuN96/EFGrOtp4Dv30/2y5oIPyi6hZGjQGjPc5GDNoTQwW7vxWNzybjuMg==", + "license": "MIT", "dependencies": { "jeep-sqlite": "^2.7.2" }, @@ -129,6 +130,7 @@ "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-6.2.1.tgz", "integrity": "sha512-urZwxa7hVE/BnA18oCFAdizXPse6fCKanQyEqpmz6cBJ2vObwMpyJDG5jBeoSsgocS9+Ax+9vb4ducWJn0y2qQ==", "license": "MIT", + "peer": true, "dependencies": { "tslib": "^2.1.0" } @@ -1069,6 +1071,7 @@ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -2874,16 +2877,6 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "license": "MIT", - "optional": true, - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, "node_modules/end-of-stream": { "version": "1.4.5", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", diff --git a/ios/App/Podfile.lock b/ios/App/Podfile.lock index b19efa97..379c0803 100644 --- a/ios/App/Podfile.lock +++ b/ios/App/Podfile.lock @@ -86,7 +86,7 @@ PODS: - SQLCipher/common (4.9.0) - SQLCipher/standard (4.9.0): - SQLCipher/common - - TimesafariDailyNotificationPlugin (1.1.0): + - TimesafariDailyNotificationPlugin (1.1.6): - Capacitor - ZIPFoundation (0.9.19) @@ -172,7 +172,7 @@ SPEC CHECKSUMS: nanopb: 438bc412db1928dac798aa6fd75726007be04262 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 SQLCipher: 31878d8ebd27e5c96db0b7cb695c96e9f8ad77da - TimesafariDailyNotificationPlugin: cb8778f04a8b55f01c128d51968c8e8033959bff + TimesafariDailyNotificationPlugin: 764bab81df3be426be171842586608a80a66a61e ZIPFoundation: b8c29ea7ae353b309bc810586181fd073cb3312c PODFILE CHECKSUM: 6d92bfa46c6c2d31d19b8c0c38f56a8ae9fd222f diff --git a/scripts/build-electron.sh b/scripts/build-electron.sh index ef370d00..1a8e6706 100755 --- a/scripts/build-electron.sh +++ b/scripts/build-electron.sh @@ -215,9 +215,9 @@ clean_electron_artifacts() { safe_execute "Cleaning Electron app directory" "rm -rf electron/app" fi - # Clean TypeScript compilation artifacts + # Clean TypeScript compilation artifacts (exclude hand-maintained electron-plugins.js) if [[ -d "electron/src" ]]; then - safe_execute "Cleaning TypeScript artifacts" "find electron/src -name '*.js' -delete 2>/dev/null || true" + safe_execute "Cleaning TypeScript artifacts" "find electron/src -name '*.js' ! -path 'electron/src/rt/electron-plugins.js' -delete 2>/dev/null || true" safe_execute "Cleaning TypeScript artifacts" "find electron/src -name '*.js.map' -delete 2>/dev/null || true" fi