Dear reader, thank you for reading. I promise this devlog is gonna be fun to read trough.
The biggest utility change is that the timer now pauses when the screen goes to sleep. To do this, I had to use some low-level hooks that I’m not a master in, but it was fun to use them and debug the errors.
Then I wandered about how I could make the app report errors it had back to me while also putting YOUR 🫵 privacy on the first place. I found Sentry, an app which has a more than enough free plan for this use case. What Sentry does it’s that it collects all the errors and stores them in one dashboard, along with many other features. The setup was fairly simple; it wasn’t that big of a hustle.
Next, I also added a darker picture for the background for when the pc is in dark mode so that you don’t get flash banged when a break suddenly starts and its 3am. To choose the correct picture, it checks a specific value from a specific path where Windows keeps the current theme. Here I had a problem with memory leak which required more debugging because the images were being kept in memory, twice, and they would also get deleted after each use? It was a mess, but now its fixed.
The last change is in the UI. I decided to keep ICare at a fixed size so that the layout is more consistent, and then I adapted the Settings view to the new dimensions.
Thank you so much for staying! I’m sure I have a long way to go until ICare reaches a reasonable standard, but I hope you had fun reading through my journey. Thanks again!
P.S: You can show me that you’re interested in this by just leaving a like on this devlog and it will make me happy to know that someone read it!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.