From fa351991a51456ae633612ec9df286c5e5b5d81d Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sat, 13 Nov 2010 12:51:20 +0000 Subject: [PATCH] Replaced UpdateApplicationRC.exe and UpdatePluginRC.exe with a more efficient method. --- Application/Application.rc | 9 +++++---- Plugins/PluginAdvancedCPU/PluginAdvancedCPU.rc | 8 +++----- Plugins/PluginExample/PluginExample.rc | 8 +++----- Plugins/PluginMediaKey/PluginMediaKey.rc | 8 +++----- Plugins/PluginPerfMon/PluginPerfMon.rc | 8 +++----- Plugins/PluginPing/PluginPing.rc | 8 +++----- Plugins/PluginPower/PluginPower.rc | 8 +++----- Plugins/PluginQuote/PluginQuote.rc | 8 +++----- Plugins/PluginRecycleManager/PluginRecycleManager.rc | 8 +++----- Plugins/PluginResMon/PluginResMon.rc | 8 +++----- Plugins/PluginSpeedFan/PluginSpeedFan.rc | 8 +++----- Plugins/PluginSysInfo/PluginSysInfo.rc | 8 +++----- Plugins/PluginVirtualDesktops/PluginVirtualDesktops.rc | 8 +++----- Plugins/PluginWebParser/PluginWebParser.rc | 8 +++----- Plugins/PluginWifiStatus/PluginWifiStatus.rc | 8 +++----- Plugins/PluginWin7Audio/PluginWin7Audio.rc | 8 +++----- Plugins/PluginWindowMessage/PluginWindowMessage.rc | 8 +++----- Plugins/PluginiTunes/PluginiTunes.rc | 8 +++----- revision-number.h | 7 ++++++- 19 files changed, 62 insertions(+), 90 deletions(-) diff --git a/Application/Application.rc b/Application/Application.rc index a7bc15d2..7de6cf85 100644 --- a/Application/Application.rc +++ b/Application/Application.rc @@ -2,6 +2,7 @@ // Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // #include "resource.h" +#include "..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -28,8 +29,8 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,4,0,592 - PRODUCTVERSION 1,4,0,592 + FILEVERSION FILEVER + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -45,12 +46,12 @@ BEGIN BLOCK "040b04b0" BEGIN VALUE "FileDescription", "Rainmeter - A Customizable Resource Meter" - VALUE "FileVersion", "1, 4, 0, 592" + VALUE "FileVersion", STRFILEVER VALUE "InternalName", "Rainmeter" VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "Rainmeter.exe" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginAdvancedCPU/PluginAdvancedCPU.rc b/Plugins/PluginAdvancedCPU/PluginAdvancedCPU.rc index ef9f1fd6..454301d9 100644 --- a/Plugins/PluginAdvancedCPU/PluginAdvancedCPU.rc +++ b/Plugins/PluginAdvancedCPU/PluginAdvancedCPU.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,5,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "AdvancedCPU.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginExample/PluginExample.rc b/Plugins/PluginExample/PluginExample.rc index 96716081..76591a2d 100644 --- a/Plugins/PluginExample/PluginExample.rc +++ b/Plugins/PluginExample/PluginExample.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,1,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "ExamplePlugin.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginMediaKey/PluginMediaKey.rc b/Plugins/PluginMediaKey/PluginMediaKey.rc index e9ce402d..8cfe0e25 100644 --- a/Plugins/PluginMediaKey/PluginMediaKey.rc +++ b/Plugins/PluginMediaKey/PluginMediaKey.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - poiru" VALUE "OriginalFilename", "PluginMediaKey.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginPerfMon/PluginPerfMon.rc b/Plugins/PluginPerfMon/PluginPerfMon.rc index 9960dcc9..8a967888 100644 --- a/Plugins/PluginPerfMon/PluginPerfMon.rc +++ b/Plugins/PluginPerfMon/PluginPerfMon.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,2,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "PluginPerfMon.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginPing/PluginPing.rc b/Plugins/PluginPing/PluginPing.rc index df37a0a3..75a9fcf7 100644 --- a/Plugins/PluginPing/PluginPing.rc +++ b/Plugins/PluginPing/PluginPing.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,2,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "PluginPing.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginPower/PluginPower.rc b/Plugins/PluginPower/PluginPower.rc index 1a408676..ce027030 100644 --- a/Plugins/PluginPower/PluginPower.rc +++ b/Plugins/PluginPower/PluginPower.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,3,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "PluginPower.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginQuote/PluginQuote.rc b/Plugins/PluginQuote/PluginQuote.rc index 221d8f54..2151cae3 100644 --- a/Plugins/PluginQuote/PluginQuote.rc +++ b/Plugins/PluginQuote/PluginQuote.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,1,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "PluginQuote.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginRecycleManager/PluginRecycleManager.rc b/Plugins/PluginRecycleManager/PluginRecycleManager.rc index c000fdea..0c65f149 100644 --- a/Plugins/PluginRecycleManager/PluginRecycleManager.rc +++ b/Plugins/PluginRecycleManager/PluginRecycleManager.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - gschoppe" VALUE "OriginalFilename", "PluginRecycleManager.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginResMon/PluginResMon.rc b/Plugins/PluginResMon/PluginResMon.rc index fba4d563..9456532b 100644 --- a/Plugins/PluginResMon/PluginResMon.rc +++ b/Plugins/PluginResMon/PluginResMon.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,3,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - David Negstad" VALUE "OriginalFilename", "PluginResMon.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginSpeedFan/PluginSpeedFan.rc b/Plugins/PluginSpeedFan/PluginSpeedFan.rc index 9df8b63b..4db5e186 100644 --- a/Plugins/PluginSpeedFan/PluginSpeedFan.rc +++ b/Plugins/PluginSpeedFan/PluginSpeedFan.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,2,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "PluginSpeedFan.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginSysInfo/PluginSysInfo.rc b/Plugins/PluginSysInfo/PluginSysInfo.rc index 9bd3cac8..912d0343 100644 --- a/Plugins/PluginSysInfo/PluginSysInfo.rc +++ b/Plugins/PluginSysInfo/PluginSysInfo.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,4,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy / Mordred" VALUE "OriginalFilename", "PluginSysInfo.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginVirtualDesktops/PluginVirtualDesktops.rc b/Plugins/PluginVirtualDesktops/PluginVirtualDesktops.rc index dfbd8b81..6b49e751 100644 --- a/Plugins/PluginVirtualDesktops/PluginVirtualDesktops.rc +++ b/Plugins/PluginVirtualDesktops/PluginVirtualDesktops.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Dexpot GbR" VALUE "OriginalFilename", "PluginVirtualDesktops.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginWebParser/PluginWebParser.rc b/Plugins/PluginWebParser/PluginWebParser.rc index 09d93074..14d4cbfe 100644 --- a/Plugins/PluginWebParser/PluginWebParser.rc +++ b/Plugins/PluginWebParser/PluginWebParser.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,13,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "PluginWebParser.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginWifiStatus/PluginWifiStatus.rc b/Plugins/PluginWifiStatus/PluginWifiStatus.rc index 426b15e0..9c2f6b08 100644 --- a/Plugins/PluginWifiStatus/PluginWifiStatus.rc +++ b/Plugins/PluginWifiStatus/PluginWifiStatus.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,9,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - nvme" VALUE "OriginalFilename", "PluginWifiStatus.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginWin7Audio/PluginWin7Audio.rc b/Plugins/PluginWin7Audio/PluginWin7Audio.rc index 023f3a03..f2039370 100644 --- a/Plugins/PluginWin7Audio/PluginWin7Audio.rc +++ b/Plugins/PluginWin7Audio/PluginWin7Audio.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,6,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Reiswaffle" VALUE "OriginalFilename", "PluginWin7Audio.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginWindowMessage/PluginWindowMessage.rc b/Plugins/PluginWindowMessage/PluginWindowMessage.rc index f29f19b0..e8944c39 100644 --- a/Plugins/PluginWindowMessage/PluginWindowMessage.rc +++ b/Plugins/PluginWindowMessage/PluginWindowMessage.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 1,1,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "OriginalFilename", "PluginWindowMessage.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/Plugins/PluginiTunes/PluginiTunes.rc b/Plugins/PluginiTunes/PluginiTunes.rc index 7d1cb998..4b3ff3ae 100644 --- a/Plugins/PluginiTunes/PluginiTunes.rc +++ b/Plugins/PluginiTunes/PluginiTunes.rc @@ -1,11 +1,9 @@ // Microsoft Developer Studio generated resource script. -// Caution! Do not modify this file without changing \install\UpdateApplicationRC.au3 // +#include "..\..\revision-number.h" #define APSTUDIO_READONLY_SYMBOLS - #include "windows.h" - #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +13,7 @@ VS_VERSION_INFO VERSIONINFO FILEVERSION 0,1,0,0 - PRODUCTVERSION 1,4,0,592 + PRODUCTVERSION PRODUCTVER FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG @@ -36,7 +34,7 @@ BEGIN VALUE "LegalCopyright", "Copyright (C) 2010 - Elestel" VALUE "OriginalFilename", "PluginiTunes.dll" VALUE "ProductName", "Rainmeter" - VALUE "ProductVersion", "1, 4, 0, 592 (x64)" + VALUE "ProductVersion", STRPRODUCTVER END END BLOCK "VarFileInfo" diff --git a/revision-number.h b/revision-number.h index ef2a1122..f7b913a8 100644 --- a/revision-number.h +++ b/revision-number.h @@ -1,3 +1,8 @@ #pragma once -const int revision_number = 592; +#define FILEVER 1,4,0,593 +#define PRODUCTVER 1,4,0,593 +#define STRFILEVER "1.4.0.593" +#define STRPRODUCTVER "1.4.0.593 (64-bit)" + +const int revision_number = 593; const bool revision_beta = true; \ No newline at end of file