From 56e3be2de31fb7c0d41c04e162677b7b16c73df0 Mon Sep 17 00:00:00 2001 From: sje Date: Sat, 21 Jul 2007 03:56:06 +0000 Subject: remove extraineous 'restore status' call in modules loaded (thx borkra) remove check for network (not reliable on some systems) git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@300 4f64403b-2f21-0410-a795-97e2b3489a10 --- updater/services.cpp | 3 +++ updater/updater.cpp | 3 +++ updater/version.h | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'updater') diff --git a/updater/services.cpp b/updater/services.cpp index ac604a0..948d4d7 100644 --- a/updater/services.cpp +++ b/updater/services.cpp @@ -159,11 +159,14 @@ bool WriteLastCheckTime() { unsigned int CALLBACK CheckForUpdatesWorker(void *param) { if(checking) return 1; + /* + // this check doesn't work on some systems - not sure which or why if(!(GetSystemMetrics(SM_NETWORK) & 1)) { ShowError(TranslateT("No network - aborting update check")); NLog("worker thread aborting - no network"); return 1; // no network } + */ NLog("CheckForUpdatesWorker thread starting"); diff --git a/updater/updater.cpp b/updater/updater.cpp index 4675dc1..aa7aabe 100644 --- a/updater/updater.cpp +++ b/updater/updater.cpp @@ -87,9 +87,12 @@ HANDLE hEventIdleChanged; int ModulesLoaded(WPARAM wParam, LPARAM lParam) { LoadOptions(); + /* + // done by DoStartupProcess in second 'services' modules loaded hook...i hope :) if(!options.check_on_startup) { RestoreStatus(); } + */ /*{ char buff[265]; diff --git a/updater/version.h b/updater/version.h index 2f6fd54..9c5353a 100644 --- a/updater/version.h +++ b/updater/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 5 #define __RELEASE_NUM 2 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM -- cgit v1.2.3