mirror of
https://github.com/prashantgupta24/automatic-mouse-mover.git
synced 2024-12-22 16:34:11 +00:00
Merge pull request #8 from prashantgupta24/dev
making notifications better
This commit is contained in:
commit
665b40fce3
@ -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