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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user