forked from arachsys/totp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtotp.rc2
89 lines (71 loc) · 3.54 KB
/
totp.rc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Copyright (C), Software Development Laboratories, "Fish" (David B. Trout)
//////////////////////////////////////////////////////////////////////////////////////////
//
// TOTP.RC2 -- resources Microsoft Visual C++ does not edit directly
//
//////////////////////////////////////////////////////////////////////////////////////////
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////////////////
// PROGRAMMING NOTE: the Visual Studio build options for this project are
// defined such that the definition of the TARGETNAME and TARGETFILENAME
// macros are manually passed to the resource compiler on the command-line.
#if !defined(TARGETNAME) || !defined(TARGETFILENAME)
#error TARGETNAME and/or TARGETFILENAME undefined. Check project Resources build settings.
#endif
//////////////////////////////////////////////////////////////////////////////////////////
// Add manually edited resources here...
//////////////////////////////////////////////////////////////////////////////////////////
#define RC2
#include "WinVer.h" // std windows resource compiler #defines
#include "Version.h" // our version #defines
#include "Product.h" // our product #defines
#ifndef _MAC
//////////////////////////////////////////////////////////////////////////////////////////
// Version (placed here for automatic version tracking purposes)
//////////////////////////////////////////////////////////////////////////////////////////
VS_VERSION_INFO VERSIONINFO
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_SPECIALBUILD | VS_FF_DEBUG
#else
FILEFLAGS VS_FF_SPECIALBUILD
#endif
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
FILEOS VOS__WINDOWS32
FILEVERSION VERMAJOR_NUM, VERINTER_NUM, VERMINOR_NUM, REV_NUM
PRODUCTVERSION VERMAJOR_NUM, VERINTER_NUM, VERMINOR_NUM, REV_NUM
{
// 0x0409 = "U.S. English", 0x04B0 (1200) = "Unicode"
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x409, 1200 // (English, Unicode)
}
BLOCK "StringFileInfo"
{
BLOCK "040904B0" // (English, Unicode)
{
// Standard/Required Attributes...
VALUE "OriginalFilename", TARGETFILENAME "\0"
VALUE "FileDescription", PRODUCT "\0"
VALUE "ProductName", PRODUCT "\0"
VALUE "FileVersion", VERSION_STR "\0"
VALUE "ProductVersion", VERSION_STR "\0"
VALUE "CompanyName", COMPANY "\0"
VALUE "LegalCopyright", COPYRIGHT " " COMPANY "\r\n\r\n"
"Based on 'totp' Copyright (C) Chris Webb <chris@arachsys.com>" "\0"
#include "SpecialBuild.rc2"
// Custom Attributes...
VALUE "Product URL", "(Fish's) https://github.com/Fish-Git/totp" "\r\n\r\n"
"(Original) https://github.com/arachsys/totp" "\0"
VALUE "Product Email", PRODUCT_EMAIL "\r\n\r\n"
"chris@arachsys.com" "\0"
VALUE "SVN Revision", REV_STR "\0" // (from AutoBuildCount.h)
VALUE "Comment", "\""Google Authenticator\"" compatible!" "\0"
}
}
}
#endif // !_MAC
//////////////////////////////////////////////////////////////////////////////////////////