-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dexc in system tray #1828
dexc in system tray #1828
Conversation
The icon for the menu item (not the tray icon itself) is a little wonky on windows 7 but otherwise this is working fine. Just need #1829 to go first. |
54c56da
to
6817b63
Compare
It's been a while, but can't seem to build correctly on Windows 10. I don't see any errors. attempting to run the executable does nothing. Ill try building on linux and sending the bin to windows. Any flags I need besides the |
Could you be missing the site dir before build? |
Actually it is running! I can go to |
No, I do not see it there. Sorry for slow response. Where is my task manager... |
0172867
to
08a017e
Compare
Sadly I only have Linux, Windows 7 and Windows 11, but not Windows 10. My only guess is that there's a W10 bug, which does seem to be common: If it is really super common, that could be a showstopper though. |
Ahhhh! I should have noticed that from your task manager you shared offline |
Why does there need to be a new folder? We need to keep up with the two now. Things here don't really change that much over time, but seems like we could have build flags if you wanted to build the tray support like |
I'm trying, perhaps a little too hard, to avoid putting these two new depends in the main module's go.mod. I'll see how it feels merged with build tags instead. |
2fb46f1
to
b6343b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant! Working beautifully on Linux. May fire up Windows later, but don't wait on me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working well on windows.
Mac: Open logs folder works. Edit config file only works if you first associate the text editor with .conf files. Otherwise the console says:
Perhaps a .ini extension would open without having to change file associations. Not worth the effort now though. |
Works in Linux, Windows, Mac OS/X (supposedly). Only tested on Linux and Window so far. No cgo required in Linux.
On Windows, it can be build with
-ldflags "-H=windowsgui"
to not even open a terminal window when run.Now that we have site resources embedded, this means that a Windows user can just download and extract "dexc.exe" and just double click it without any terminal interactions required.
Requires #1829
windows-tray.mp4
dex-tray-w11
TODO: