zidoro / pomatez

Stay Focused. Take a Break.
https://zidoro.github.io/pomatez/
MIT License
4.07k stars 171 forks source link

fix: electron open at login notification showed up on every start up #502 #520

Closed roldanjr closed 1 year ago

roldanjr commented 1 year ago

I tested it already on macOS @sekwah41 and the issue's gone at least for the Electron version :)

sekwah41 commented 1 year ago

Ill take a look at making the edits to also fix the Tauri version too :) Then ill merge it as an overall fix!

sekwah41 commented 1 year ago

Turns out that the thing I was noticing was about the app being allowed to run in the background

Screenshot 2023-11-19 at 23 01 11

I've added the checks either way just to make sure it only sets when needed to avoid console errors.