1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-09 03:14:17 +00:00

Christmas eggs

This commit is contained in:
Tw93
2025-12-10 10:27:45 +08:00
parent 198591289f
commit def494b282
4 changed files with 134 additions and 17 deletions

View File

@@ -53,6 +53,21 @@ readonly MOLE_CRASH_REPORT_AGE_DAYS=7 # Crash report retention
readonly MOLE_SAVED_STATE_AGE_DAYS=7 # App saved state retention
readonly MOLE_TM_BACKUP_SAFE_HOURS=48 # Time Machine failed backup safety window
# ============================================================================
# Seasonal Functions
# ============================================================================
is_christmas_season() {
local month day
month=$(date +%-m)
day=$(date +%-d)
# December 10 to December 31
if [[ $month -eq 12 && $day -ge 10 && $day -le 31 ]]; then
return 0
fi
return 1
}
# ============================================================================
# Whitelist Configuration
# ============================================================================