ouch….sooooooooooooooo
Tried like 3 different approaches to make the notification onclick work on windows…first the web notification api with onclick handler, then tauri’s notification plugin with
registerActionTypes, then even tried using the windows crate directly with WinRT ToastNotification.Activated events…none of it worked, turns out windows just doesnt fire any in-process
event when you click a toast unless your app is properly registered in the start menu with a COM AUMID which is a whole thing
ended up going with a system tray icon instead which is honestly the better solution anyway…left click opens the config modal, right click gives a menu with Open Config and Quit…no
buttons or text on screen, orpheus just sits there being cute which is exactly what i wanted
also cleaned up a bunch of dead code from all the failed attempts, removed the old permission flow, the test notification button, startup notification spam…its much cleaner now
next up…idk man…smth fun, like ui, or homepage…no more backand for now
(and sorry for calling orpheus he/him a few times, always forgetting it haha)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.