Skip to content

Commit dd1d1a7

Browse files
Adjustment rc files and executable names
1 parent 276269e commit dd1d1a7

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/CmakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
# Starter target configuration
7272

7373
# Starter target name
74+
set(PROXY_EXE_NAME "GenHotkeys")
7475
set(STARTER_TARGET_NAME "HotkeyEditorStarter")
7576

7677
# Define starter executable with source files
@@ -85,7 +86,7 @@
8586
${STARTER_TARGET_NAME}
8687
PROPERTIES
8788
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_DESTINATION_FOLDER}
88-
OUTPUT_NAME ${MAIN_TARGET_NAME}
89+
OUTPUT_NAME ${PROXY_EXE_NAME}
8990
)
9091

9192
# Create a preprocessor variable with the path to the main program relative to the starter
@@ -138,7 +139,6 @@
138139
find_program(QTENV_BAT qtenv2.bat)
139140

140141
if(CMAKE_BUILD_TYPE STREQUAL "Release")
141-
142142
# Deploy Qt and other dlls to the Editor/Resource folder
143143
add_custom_command(
144144
TARGET ${MAIN_TARGET_NAME}
@@ -152,5 +152,4 @@
152152
--dir $<TARGET_PROPERTY:${MAIN_TARGET_NAME},RUNTIME_OUTPUT_DIRECTORY>
153153
$<TARGET_FILE:${MAIN_TARGET_NAME}>
154154
)
155-
156-
endif()
155+
endif()

src/GUI/QtSources/EditorDescription.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ BEGIN
1313
VALUE "FileVersion", "0.4.0.0"
1414
VALUE "ProductName", "GenHotkeys"
1515
VALUE "InternalName", "GenHotkeys"
16-
VALUE "OriginalFilename", "LoadEditor.exe"
16+
VALUE "OriginalFilename", "Editor.exe"
1717
VALUE "CompanyName", "GenHotkeys Developers. All rights reserved."
1818
VALUE "LegalCopyright", "Copyright (C) GenHotkeys Devs 2023-2025"
1919
VALUE "Licence", "GNU GPL v3"

src/GUI/QtSources/StarterDescription.rc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
IDI_ICON1 ICON DISCARDABLE "EditorIcon.ico"
22

33
1 VERSIONINFO
4-
FILEVERSION 0,3,0,0
5-
PRODUCTVERSION 0,3,0,0
4+
FILEVERSION 0,4,0,0
5+
PRODUCTVERSION 0,4,0,0
66
BEGIN
77
BLOCK "StringFileInfo"
88
BEGIN
99
BLOCK "040904E4"
1010
BEGIN
1111
VALUE "FileDescription", "Hotkeys Editor For C&C: Generals"
12-
VALUE "ProductVersion", "0.3.0.0"
13-
VALUE "FileVersion", "0.3.0.0"
12+
VALUE "ProductVersion", "0.4.0.0"
13+
VALUE "FileVersion", "0.4.0.0"
1414
VALUE "ProductName", "GenHotkeys"
1515
VALUE "InternalName", "GenHotkeys"
16-
VALUE "OriginalFilename", "LoadEditor.exe"
16+
VALUE "OriginalFilename", "ProxyStarter.exe"
1717
VALUE "CompanyName", "GenHotkeys Developers. All rights reserved."
1818
VALUE "LegalCopyright", "Copyright (C) GenHotkeys Devs 2023-2025"
1919
VALUE "Licence", "GNU GPL v3"

0 commit comments

Comments
 (0)