mirror of
https://github.com/prashantgupta24/automatic-mouse-mover.git
synced 2024-12-22 08:24:11 +00:00
initial commit
This commit is contained in:
parent
39119e193b
commit
8bc345892e
@ -47,7 +47,10 @@ func (m *MouseMover) Start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
heartbeatCh := activityTracker.Start()
|
heartbeatCh := activityTracker.Start()
|
||||||
|
run(heartbeatCh, m)
|
||||||
|
}
|
||||||
|
|
||||||
|
func run(heartbeatCh chan *tracker.Heartbeat, m *MouseMover) {
|
||||||
go func(m *MouseMover) {
|
go func(m *MouseMover) {
|
||||||
logger := getLogger(m, false) //set writeToFile=true only for debugging
|
logger := getLogger(m, false) //set writeToFile=true only for debugging
|
||||||
m.updateRunningStatus(true)
|
m.updateRunningStatus(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user