malmeloo / wiimmfi-rpc

A Discord rich presence implementation for Wiimmfi
GNU General Public License v3.0
34 stars 3 forks source link

Start Minimized to Tray #16

Closed burritosoftware closed 3 years ago

burritosoftware commented 4 years ago

With this option enabled, you could have the program idling in the background in the system tray. It will startup naturally like this and when closed will stay in the system tray.


Function

The icon will be of the Wiimmfi Logo. The logo itself will be black & white when no game is detected, and colored when a game is detected. A small dot will be in the bottom right of this icon. It is green for when the presence is on, and red for when the presence is off. Every time from a new boot of the program, it will be on, just if you forget to turn it back on.

Left-clicking this icon will toggle the presence and the dot on and off. Right clicking will show a context menu where you can open the full window, or fully close the program.

malmeloo commented 4 years ago

Thanks for the suggestion, I pushed the last commits for this to prerelease earlier today.

I did make some small changes to the suggested implementation, I'll just list everything below for completion purposes:

The icon behaves like this:

Let me know what you think of this implementation.

burritosoftware commented 4 years ago

Great implementation! I dig it.

malmeloo commented 3 years ago

Since this has now been implemented, I'll go ahead and close this issue.

burritosoftware commented 3 years ago

Hey @DismissedGuy, been awhile. I downloaded 1.7.5 on my new PC and ran it, the icon is not in the tray. When I click X I get not message about it, and when I check task manager it looks like it's still hanging around in the background.

malmeloo commented 3 years ago

Hey! This is a known problem, it turned out to be an issue with how the program is packaged. I haven't officially released a fix yet, but the current project on master builds releases that work just fine.

Here's a link to a build on GH Actions: https://github.com/DismissedGuy/wiimmfi-rpc/actions/runs/774676686#artifacts

Note that the zip structure is a little weird, that still needs to be fixed.