mirror of
https://github.com/prashantgupta24/automatic-mouse-mover.git
synced 2024-12-22 16:34:11 +00:00
making notifications better
This commit is contained in:
parent
d76767dd36
commit
b018f974b6
@ -8,7 +8,6 @@ import (
|
||||
|
||||
"github.com/go-vgo/robotgo"
|
||||
"github.com/prashantgupta24/activity-tracker/pkg/tracker"
|
||||
"github.com/prashantgupta24/automatic-mouse-mover/pkg/notify"
|
||||
)
|
||||
|
||||
var instance *MouseMover
|
||||
@ -56,7 +55,7 @@ func (m *MouseMover) Start() {
|
||||
} else {
|
||||
msg := "Mouse pointer cannot be moved. See README for details."
|
||||
log.Errorf(msg)
|
||||
notify.SendMessage(msg)
|
||||
robotgo.ShowAlert("Error with Automatic Mouse Mover", msg)
|
||||
}
|
||||
case <-time.After(timeout * time.Millisecond):
|
||||
//timeout, do nothing
|
||||
|
Loading…
Reference in New Issue
Block a user