diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2016-04-15 14:09:00 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2016-04-15 14:09:00 +0000 |
commit | 9f78220f472a29bd96414b79fd368d0ad0de062d (patch) | |
tree | ec6ee7f5f7d8dca89d97b8e2857d4dcfbc3c45a7 /plugins/PluginUpdater/src/stdafx.h | |
parent | 18f7e9261c885e953f220ba6836e8bca43a6fc88 (diff) |
PluginUpdater: added ability to change platform. Note: old miranda*.exe you should delete manually
git-svn-id: http://svn.miranda-ng.org/main/trunk@16660 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/stdafx.h')
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index 5491dd325b..10ffc6576a 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -86,7 +86,7 @@ typedef OBJLIST<FILEINFO> FILELIST; extern struct PlugOptions
{
- BYTE bUpdateOnStartup, bUpdateOnPeriod, bOnlyOnceADay, bForceRedownload, bSilentMode, bBackup;
+ BYTE bUpdateOnStartup, bUpdateOnPeriod, bOnlyOnceADay, bForceRedownload, bSilentMode, bBackup, bChangePlatform;
BOOL bSilent;
BYTE bPeriodMeasure;
@@ -104,14 +104,16 @@ extern struct PlugOptions #define DEFAULT_ONLYONCEADAY 1
#endif
+#define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x%d"
+#define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x%d"
+#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.org/distr/pdb_x%d"
+
#ifdef _WIN64
- #define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x64"
- #define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x64"
- #define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.org/distr/pdb_x64"
+ #define DEFAULT_BITS 64
+ #define DEFAULT_OPP_BITS 32
#else
- #define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x32"
- #define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x32"
- #define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.org/distr/pdb_x32"
+ #define DEFAULT_BITS 32
+ #define DEFAULT_OPP_BITS 64
#endif
#define PLUGIN_INFO_URL _T("http://miranda-ng.org/p/%s")
@@ -133,6 +135,7 @@ extern struct PlugOptions #define DB_SETTING_RESTART_COUNT "RestartCount"
#define DB_SETTING_LAST_UPDATE "LastUpdate"
#define DB_SETTING_DONT_SWITCH_TO_STABLE "DontSwitchToStable"
+#define DB_SETTING_CHANGEPLATFORM "ChangePlatform"
#define DB_MODULE_FILES MODNAME "Files"
#define MAX_RETRIES 3
|