Commit Graph

6 Commits

Author SHA1 Message Date
Leopere 9746499231
Skip auto-update for dev builds
`make install` now stamps "dev" as the local SHA256, which tells the
auto-updater to skip update checks entirely. DMG-based installs
continue to work normally with real SHA256 comparison. Clicking
"Check for Updates" on a dev build shows a clear "Dev Build" message
instead of prompting to downgrade.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 15:51:09 -05:00
Leopere c14ab51724
Fix auto-updater to safely swap app while running
Instead of replacing /Applications/Pommedoro.app in-place while the
process is still running, the updater now stages the new .app to a
temp directory, spawns a background shell script that waits for the
current process to exit, then swaps the app and relaunches. This
ensures applicationWillTerminate fires to save timer state and avoids
corrupting the running binary.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 15:48:56 -05:00
Leopere 129e839f8d
Add SHA256-based auto-update mechanism
- New `make release` target generates Pommedoro.dmg.sha256 alongside the DMG
- AutoUpdater.swift checks the remote SHA256 against the local stamp on launch
  and prompts the user to update when a mismatch is detected
- install.command stamps the SHA256 of the source DMG at install time
- "Check for Updates…" menu item (Cmd+U) for manual checks
- Fix break screen close buttons to resume instead of showing work log
- Migrate worklog.log storage to ~/Library/Application Support/Pommedoro/

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 15:42:48 -05:00
Leopere 0d2ef2eedc
Add work log, pause/resume UX, countdown schedule, timer persistence, suggestion improvements, and ad-hoc code signing
- Work log with CSV persistence and SwiftUI history view
- Pause/resume support with timer state persistence across app restarts
- Countdown pulse schedule: 5→3min at 1/min, 3→1min every 30s
- Intent pre-fill from suggestions with improved suggestion matching
- Overlay window and break screen refinements
- Ad-hoc code signing with runtime hardening and entitlements
- DMG includes Install.command that strips quarantine on install
- README install instructions for non-technical users with Gatekeeper workaround
- build-test.sh simulates download quarantine to verify fix
- CHANGELOG and README updates

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 18:06:10 -05:00
Leopere b170202033
Initial release of Pommedoro
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 16:27:21 -05:00
Leopere cc23058b1d
Initial release of Pommedoro
A macOS Pomodoro timer built on the thesis that transitions — not hard
cuts — are the only way breaks actually happen. Includes escalating
edge gradients, actionable wellness suggestions, self-reflection, and
a compiled DMG. Licensed CC BY 4.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 16:27:21 -05:00