Beispiel #1
0
 private static void OnBeforeStartup()
 {
     Toggl.OnLogin += delegate(bool open, ulong user_id) {
         UserId = user_id;
     };
     BugsnagService.Init();
     DeepLinkProtocolInstaller.InstallProtocol();
     singleInstanceManager.BeforeStartup -= OnBeforeStartup;
 }
Beispiel #2
0
        private static void OnBeforeStartup()
        {
            Toggl.OnLogin += delegate(bool open, ulong user_id) {
                UserId = user_id;
            };
            BugsnagService.Init();
#if TOGGL_ALLOW_UPDATE_CHECK
            Toggl.UpdateService.InstallPendingUpdatesOnStartup();
#endif
            DeepLinkProtocolInstaller.InstallProtocol();
            singleInstanceManager.BeforeStartup -= OnBeforeStartup;
        }