예제 #1
0
파일: Updater.cs 프로젝트: kdrwila/DontDie
 public static void TryCheckForUpdates()
 {
     s_lastInstallCheckDate = new LastCheckDate(kPrefsKeyLastUpdateCheckDate);
     if (s_lastInstallCheckDate.CanCheckNow())
     {
         s_lastInstallCheckDate.SetToday();
         CheckForUpdates();
     }
     else
     {
         Log.d("Skipping update check. Next check: {0}", s_lastInstallCheckDate);
     }
 }
예제 #2
0
        #pragma warning restore 0649

        public static void TryCheckForUpdates()
        {
#if !LUNAR_CONSOLE_UPDATER_DISABLED
            s_lastInstallCheckDate = new LastCheckDate(kPrefsKeyLastUpdateCheckDate);
            if (s_lastInstallCheckDate.CanCheckNow())
            {
                s_lastInstallCheckDate.SetToday();
                CheckForUpdates();
            }
            else
            {
                Log.d("Skipping update check. Next check: {0}", s_lastInstallCheckDate);
            }
#endif
        }
예제 #3
0
 public static void TryCheckForUpdates()
 {
     s_lastInstallCheckDate = new LastCheckDate(kPrefsKeyLastUpdateCheckDate);
     if (s_lastInstallCheckDate.CanCheckNow())
     {
         s_lastInstallCheckDate.SetToday();
         CheckForUpdates();
     }
     else
     {
         Log.d("Skipping update check. Next check: {0}", s_lastInstallCheckDate);
     }
 }