GODT-2213: Don't unnecessarily enable/disable autostart

This commit is contained in:
James Houlahan
2022-12-19 08:29:57 +00:00
committed by Romain Le Jeune
parent 3499fbd758
commit e4b81063cb
8 changed files with 43 additions and 12 deletions

View File

@ -191,9 +191,6 @@ func NewService(
return s, nil
}
// GODT-1507 Windows: autostart needs to be created after Qt is initialized.
// GODT-1206: if preferences file says it should be on enable it here.
// TO-DO GODT-1681 Autostart needs to be properly implement for gRPC approach.
func (s *Service) initAutostart() {
s.firstTimeAutostart.Do(func() {
shouldAutostartBeOn := s.bridge.GetAutostart()