diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-27 17:38:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-27 17:38:35 +0300 |
commit | c9d1f394e5b44fcfab5ae7ef25006779516f03ff (patch) | |
tree | fb0d4441c29c3afa795b231565798d3cf27d5a10 /plugins/Actman | |
parent | c3766cdea1f52ee6f5d774a840f2f0d70c97386a (diff) |
PRODUCTVERSION of any version resource to contain the number of current build
Diffstat (limited to 'plugins/Actman')
-rw-r--r-- | plugins/Actman/actman.dpr | 1 | ||||
-rw-r--r-- | plugins/Actman/make.bat | 1 | ||||
-rw-r--r-- | plugins/Actman/version.rc | 50 |
3 files changed, 52 insertions, 0 deletions
diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr index 2106331144..296c02e1ef 100644 --- a/plugins/Actman/actman.dpr +++ b/plugins/Actman/actman.dpr @@ -60,6 +60,7 @@ uses scheduler in 'tasks\scheduler.pas';
{$r options.res}
+{$r version.res}
const
PluginName = 'Action Manager';
diff --git a/plugins/Actman/make.bat b/plugins/Actman/make.bat index 3f06ece2b5..9d045fe8c2 100644 --- a/plugins/Actman/make.bat +++ b/plugins/Actman/make.bat @@ -19,6 +19,7 @@ rem brcc32.exe %myopts% options.rc -fooptions.res rem brcc32.exe %myopts% hooks\hooks.rc -fohooks\hooks.res
rem brcc32.exe %myopts% tasks\tasks.rc -fotasks\tasks.res
rem brcc32.exe %myopts% ua\ua.rc -foua\ua.res
+rc version.rc
%FPCBIN% @..\Utils.pas\fpc.cfg %PROJECT%.dpr %3 %4 %5 %6 %7 %8 %9
if errorlevel 1 exit /b 1
diff --git a/plugins/Actman/version.rc b/plugins/Actman/version.rc new file mode 100644 index 0000000000..e4d9ab3c93 --- /dev/null +++ b/plugins/Actman/version.rc @@ -0,0 +1,50 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "..\..\include\m_version.h" + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +#pragma code_page(1252) +#endif //_WIN32 + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 0,3,0,1 + PRODUCTVERSION MIRANDA_VERSION_FILEVERSION + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN +// VALUE "Author", __AUTHOR +// VALUE "FileDescription", __DESCRIPTION +// VALUE "FileVersion", __VERSION_STRING +// VALUE "InternalName", __PLUGIN_NAME +// VALUE "LegalCopyright", __COPYRIGHT +// VALUE "OriginalFilename", __FILENAME +// VALUE "ProductName", __PLUGIN_NAME + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// |