summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-21 03:56:06 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-21 03:56:06 +0000
commit56e3be2de31fb7c0d41c04e162677b7b16c73df0 (patch)
tree4dc1ee12cdce105584c718737b2d85fe6f06ff87
parent611b2214fdc807ee6bae14dcdc5130cfe2c25907 (diff)
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
-rw-r--r--updater/services.cpp3
-rw-r--r--updater/updater.cpp3
-rw-r--r--updater/version.h2
3 files changed, 7 insertions, 1 deletions
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