Skip to content
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

Its not possible to create toast notification as service #16

Closed
ericrange opened this issue Sep 6, 2018 · 3 comments
Closed

Its not possible to create toast notification as service #16

ericrange opened this issue Sep 6, 2018 · 3 comments

Comments

@ericrange
Copy link

No description provided.

@gen2brain
Copy link
Owner

Can you describe what you meant with notification as service, is it a Windows only thing? How will that work on macOS and Linux, and is it related to #10 .

@ericrange
Copy link
Author

its windows thing. a service dont have access to a active window user session. its possible but it needs some windows-dll magic :(
the toast notification apears if you start the program as a user. but not, in a service context.

@martinlindhe
Copy link
Contributor

martinlindhe commented May 21, 2019

@ericrange Windows services normally don't use notifications, but rather write to the event log.

https://godoc.org/golang.org/x/sys/windows/svc/eventlog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants