Holy efficiency!
Primary changes were to revamp how blocking of windows apps works. It used to poll open windows periodically - so there would be a delay of a few seconds before closing a blocked app. Now the background service just gets a process creation event. If a blocked app tries to open, the app detection works right away to close it.
Made a screen for the blocked app in the desktop ui. Added a Back to Focus button. Also added some debouncing to not get popup’d too much if an app tries to reopen itself.
Fixed a number of corner cases for apps that were getting through. For example, some apps/games can be launched through another launcher, so added some checks to find the actual program binary. Did some trimming of the windows path prefixes. Fixed some edge cases with really long file paths. Removed the background toast notifications (which were silently failing, b/c background services on windows operate in Session 0)
In developer area, I grouped all the startup/test commands into start.bat and test.bat as two batch files. Got the desktop test suite a bit faster by switching from Vitest to happy-dom. Added some mocked data so we can test the frontend without the bg service running. Lastly but not least, cleaned up dead network filter code.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.