deno-systray
deno-systray copied to clipboard
On Windows, a systray-portable console is launched
When I compile a program using deno compile
with the --no-terminal
flag, the main program's console is not displayed, but the subprocess console window of systray-portable, is continuously running. I have no idea how to hide this window so that launching the compiled version of the script does not display any console and works in the background. Do you have any idea how to solve this?
PS: When I close this console the entire program quits.
For me, nothing is displayed and no system tray is created when compiled with --no-terminal
.
I believe this project wraps this go library: https://github.com/getlantern/systray
Their README states:
To avoid opening a console at application startup, use these compile flags: go build -ldflags -H=windowsgui
I don't know how to rebuild the underlying go library this depends on, but maybe that'll point you in the right direction.
That's a good hint, but in fact this library depends on:
- https://github.com/wobsoriano/systray-portable
(ref)
Lol, never mind, just realized that wobsoriano/systray-portable actually refers to getlantern/systray.