Skip to content

Commit aa156a2

Browse files
authored
revert inadvertent changes
2 parents 8b004be + df42ff2 commit aa156a2

File tree

2 files changed

+32
-49
lines changed

2 files changed

+32
-49
lines changed

launcher/src/resource.rc

Lines changed: 31 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
// Microsoft Visual C++ generated resource script.
2-
//
1+
/* _
2+
___ _ __ ___ __| | ___ _ __
3+
/ __| '_ ` _ \ / _` |/ _ \ '__|
4+
| (__| | | | | | (_| | __/ |
5+
\___|_| |_| |_|\__,_|\___|_|
6+
=============================================================================
7+
The Cmder Console Emulator Project
8+
*/
9+
310
#include "resource.h"
11+
#include "version.rc2"
12+
#include "strings.rc2"
413

514
#define APSTUDIO_READONLY_SYMBOLS
615
/////////////////////////////////////////////////////////////////////////////
@@ -17,34 +26,32 @@
1726

1827
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
1928
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
20-
#pragma code_page(1252)
2129

2230
#ifdef APSTUDIO_INVOKED
2331
/////////////////////////////////////////////////////////////////////////////
2432
//
2533
// TEXTINCLUDE
2634
//
2735

28-
1 TEXTINCLUDE
36+
1 TEXTINCLUDE
2937
BEGIN
3038
"resource.h\0"
3139
END
3240

33-
2 TEXTINCLUDE
41+
2 TEXTINCLUDE
3442
BEGIN
3543
"#include ""winres.h""\r\n"
3644
"\0"
3745
END
3846

39-
3 TEXTINCLUDE
47+
3 TEXTINCLUDE
4048
BEGIN
4149
"\r\n"
4250
"\0"
4351
END
4452

4553
#endif // APSTUDIO_INVOKED
4654

47-
4855
/////////////////////////////////////////////////////////////////////////////
4956
//
5057
// Icon
@@ -53,38 +60,35 @@ END
5360
// Icon with lowest ID value placed first to ensure application icon
5461
// remains consistent on all systems.
5562
IDI_CMDER ICON "..\\..\\icons\\cmder.ico"
56-
63+
#endif // not APSTUDIO_INVOKED
64+
/////////////////////////////////////////////////////////////////////////////
5765

5866
/////////////////////////////////////////////////////////////////////////////
5967
//
6068
// Version
6169
//
6270

6371
VS_VERSION_INFO VERSIONINFO
64-
FILEVERSION 1,3,6,1
65-
PRODUCTVERSION 1,3,6,1
66-
FILEFLAGSMASK 0x3fL
67-
#ifdef _DEBUG
68-
FILEFLAGS 0x1L
69-
#else
70-
FILEFLAGS 0x0L
71-
#endif
72-
FILEOS 0x40004L
73-
FILETYPE 0x1L
74-
FILESUBTYPE 0x0L
72+
FILEVERSION CMDER_MAJOR_VERSION,CMDER_MINOR_VERSION,CMDER_REVISION_VERSION,CMDER_BUILD_VERSION
73+
PRODUCTVERSION CMDER_MAJOR_VERSION,CMDER_MINOR_VERSION,CMDER_REVISION_VERSION,CMDER_BUILD_VERSION
74+
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
75+
FILEFLAGS (CMDER_DEBUGFLAG | CMDER_BUILDFLAGS)
76+
FILEOS VOS_NT_WINDOWS32
77+
FILETYPE VFT_APP
78+
FILESUBTYPE VFT2_UNKNOWN
7579
BEGIN
7680
BLOCK "StringFileInfo"
7781
BEGIN
7882
BLOCK "100904b0"
7983
BEGIN
80-
VALUE "CompanyName", "Samuel Vasko"
81-
VALUE "FileDescription", "Cmder: Lovely Console Emulator."
82-
VALUE "FileVersion", "1.3.6-pre1"
83-
VALUE "InternalName", "Cmder"
84-
VALUE "LegalCopyright", "Copyright (C) 2016 Samuel Vasko"
85-
VALUE "OriginalFilename", "Cmder.exe"
86-
VALUE "ProductName", "Cmder"
87-
VALUE "ProductVersion", "1.3.6-pre1"
84+
VALUE "CompanyName", CMDER_COMPANY_NAME_STR "\0"
85+
VALUE "FileDescription", CMDER_FILE_DESCRIPTION_STR "\0"
86+
VALUE "FileVersion", CMDER_VERSION_STR "\0"
87+
VALUE "InternalName", CMDER_INTERNAL_NAME_STR "\0"
88+
VALUE "LegalCopyright", "Copyright (C) " CMDER_COPYRIGHT_YEAR_STR " " CMDER_COMPANY_NAME_STR "\0"
89+
VALUE "OriginalFilename", CMDER_ORIGINAL_FILENAME_STR "\0"
90+
VALUE "ProductName", CMDER_PRODUCT_NAME_STR "\0"
91+
VALUE "ProductVersion", CMDER_VERSION_STR "\0"
8892
END
8993
END
9094
BLOCK "VarFileInfo"
@@ -93,34 +97,13 @@ BEGIN
9397
END
9498
END
9599

96-
97100
/////////////////////////////////////////////////////////////////////////////
98-
//
99-
// String Table
100-
//
101-
102-
STRINGTABLE
103-
BEGIN
104-
IDS_TITLE "Cmder Launcher"
105-
END
106-
107-
STRINGTABLE
108-
BEGIN
109-
IDS_SWITCHES "Valid options:\n\n /c [CMDER User Root Path]\n /task [Windows Terminal Profile/ConEmu Task Name]\n /icon [CMDER Icon Path] - ConEmu ONLY!\n [/start [Start in Path] | [Start in Path]]\n /single - ConEmu ONLY!\n /m\n -- [ConEmu/Windows Terminal extra arguments]\n\nNote: '-- [...]' must be the last argument!\n\nor, either:\n /register [USER | ALL]\n /unregister [USER | ALL]"
110-
END
111-
112-
#endif // English (United States) resources
113-
/////////////////////////////////////////////////////////////////////////////
114-
115-
116101

117102
#ifndef APSTUDIO_INVOKED
118103
/////////////////////////////////////////////////////////////////////////////
119104
//
120105
// Generated from the TEXTINCLUDE 3 resource.
121106
//
122107

123-
124108
/////////////////////////////////////////////////////////////////////////////
125109
#endif // not APSTUDIO_INVOKED
126-

launcher/src/strings.rc2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ STRINGTABLE
66
{
77
IDS_TITLE "Cmder Launcher"
88

9-
IDS_SWITCHES L"Valid options:\n\n /a Admin - Native Terminals ONLY!\n /c [CMDER User Root Path]\n /task [Windows Terminal Profile/ConEmu Task Name]\n /icon [CMDER Icon Path] - ConEmu ONLY!\n [/start [Start in Path] | [Start in Path]]\n /single - ConEmu ONLY!\n /m\n -- [ConEmu/Windows Terminal extra arguments]\n\nNote: '-- [...]' must be the last argument!\n\nor, either:\n /register [USER | ALL]\n /unregister [USER | ALL]"
9+
IDS_SWITCHES L"Valid options:\n\n /c [CMDER User Root Path]\n /task [Windows Terminal Profile/ConEmu Task Name]\n /icon [CMDER Icon Path] - ConEmu ONLY!\n [/start [Start in Path] | [Start in Path]]\n /single - ConEmu ONLY!\n /m\n -- [ConEmu/Windows Terminal extra arguments]\n\nNote: '-- [...]' must be the last argument!\n\nor, either:\n /register [USER | ALL]\n /unregister [USER | ALL]"
1010
}
1111

1212
/////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)