fix(electron): preserve electron-plugins.js during clean

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.
This commit is contained in:
Jose Olarte III
2026-02-17 18:57:27 +08:00
parent 17ccfd1fea
commit 1b97ac08fd
3 changed files with 7 additions and 14 deletions

View File

@@ -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