diff --git a/GoldenDict.exe.manifest b/GoldenDict.exe.manifest new file mode 100644 index 00000000..c1375d4e --- /dev/null +++ b/GoldenDict.exe.manifest @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/goldendict.pro b/goldendict.pro index 8ddd8ba4..507546d4 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -97,7 +97,7 @@ win32 { } - #RC_FILE = goldendict.rc + RC_FILE = goldendict.rc INCLUDEPATH += winlibs/include # Enable console in Debug mode on Windows, with useful logging messages diff --git a/goldendict.rc b/goldendict.rc new file mode 100644 index 00000000..f6fbce0c --- /dev/null +++ b/goldendict.rc @@ -0,0 +1,39 @@ +#include "windows.h" + +IDI_ICON1 ICON DISCARDABLE "icons/programicon.ico" +IDI_ICON2 ICON DISCARDABLE "icons/programicon_old.ico" +#define GOLDENDICT_VER 1,5,0,0 +#define GOLDENDICT_VER_STR "1.5.0" + +#if !defined( _MSC_VER ) && !defined( GD_NO_MANIFEST ) // Visual Studio embeds the manifest automatically +1 RT_MANIFEST GoldenDict.exe.manifest +#endif + +1 VERSIONINFO + FILEVERSION GOLDENDICT_VER + PRODUCTVERSION GOLDENDICT_VER + FILEFLAGS 0x0L + FILEFLAGSMASK 0x3fL + FILEOS 0x00040004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "CompanyName", "GoldenDict" + VALUE "FileDescription", "GoldenDict dictionary lookup program" + VALUE "FileVersion", GOLDENDICT_VER_STR + VALUE "LegalCopyright", "www.goldendict.org" + VALUE "InternalName", "goldendict" + VALUE "OriginalFilename", "goldendict.exe" + VALUE "ProductName", "GoldenDict" + VALUE "ProductVersion", GOLDENDICT_VER_STR + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END