mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-26 18:34:18 +08:00
added version resource for .exe launcher
This commit is contained in:
parent
e5f59ad952
commit
8b9e366441
@ -263,6 +263,12 @@ call :build_rsrc "%win_resources_src_dir%\api\32\resources.rc" "%win_resources_o
|
|||||||
set /a last_code+=%errorlevel%
|
set /a last_code+=%errorlevel%
|
||||||
call :build_rsrc "%win_resources_src_dir%\client\32\resources.rc" "%win_resources_out_dir%\rsrc-client-32.res"
|
call :build_rsrc "%win_resources_src_dir%\client\32\resources.rc" "%win_resources_out_dir%\rsrc-client-32.res"
|
||||||
set /a last_code+=%errorlevel%
|
set /a last_code+=%errorlevel%
|
||||||
|
call :build_rsrc "%win_resources_src_dir%\launcher\32\resources.rc" "%win_resources_out_dir%\rsrc-launcher-32.res" || (
|
||||||
|
endlocal
|
||||||
|
call :err_msg "Resource compiler failed - 32"
|
||||||
|
set /a last_code=1
|
||||||
|
goto :end_script
|
||||||
|
)
|
||||||
echo: & echo:
|
echo: & echo:
|
||||||
|
|
||||||
if %BUILD_LIB32% equ 1 (
|
if %BUILD_LIB32% equ 1 (
|
||||||
@ -485,7 +491,7 @@ endlocal & exit /b %errorlevel%
|
|||||||
:compile_experimentalclient_ldr
|
:compile_experimentalclient_ldr
|
||||||
setlocal
|
setlocal
|
||||||
echo // building executable steamclient_loader.exe - 32
|
echo // building executable steamclient_loader.exe - 32
|
||||||
set src_files="%win_resources_out_dir%\rsrc-client-32.res" "%tools_src_dir%\steamclient_loader\win\*.cpp"
|
set src_files="%win_resources_out_dir%\rsrc-launcher-32.res" "%tools_src_dir%\steamclient_loader\win\*.cpp"
|
||||||
set "extra_libs=user32.lib"
|
set "extra_libs=user32.lib"
|
||||||
call :build_for 1 2 "%steamclient_dir%\steamclient_loader.exe" src_files "" "" "%extra_libs%"
|
call :build_for 1 2 "%steamclient_dir%\steamclient_loader.exe" src_files "" "" "%extra_libs%"
|
||||||
endlocal & exit /b %errorlevel%
|
endlocal & exit /b %errorlevel%
|
||||||
@ -500,7 +506,7 @@ endlocal & exit /b %errorlevel%
|
|||||||
:compile_tool_lobby
|
:compile_tool_lobby
|
||||||
setlocal
|
setlocal
|
||||||
echo // building tool lobby_connect.exe - 32
|
echo // building tool lobby_connect.exe - 32
|
||||||
set src_files="%win_resources_out_dir%\rsrc-client-32.res" "%tools_src_dir%\lobby_connect\lobby_connect.cpp" %release_src%
|
set src_files="%win_resources_out_dir%\rsrc-launcher-32.res" "%tools_src_dir%\lobby_connect\lobby_connect.cpp" %release_src%
|
||||||
call :build_for 1 1 "%lobby_connect_dir%\lobby_connect.exe" src_files "" "/DNO_DISK_WRITES /DLOBBY_CONNECT" "Comdlg32.lib"
|
call :build_for 1 1 "%lobby_connect_dir%\lobby_connect.exe" src_files "" "/DNO_DISK_WRITES /DLOBBY_CONNECT" "Comdlg32.lib"
|
||||||
endlocal & exit /b %errorlevel%
|
endlocal & exit /b %errorlevel%
|
||||||
|
|
||||||
|
70
resources/win/launcher/32/resources.rc
Normal file
70
resources/win/launcher/32/resources.rc
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
// ===================================================================================== 0
|
||||||
|
LANGUAGE 0, 0 // language = Neutral, sublanguage = Neutral
|
||||||
|
|
||||||
|
SOURCE_CONTROL_ID SCID "../SOURCE_CONTROL_ID.txt"
|
||||||
|
|
||||||
|
1 VERSIONINFO
|
||||||
|
FILEVERSION 8,56,38,63
|
||||||
|
PRODUCTVERSION 1,0,0,2
|
||||||
|
FILEFLAGSMASK 0x17
|
||||||
|
FILEFLAGS 0x0
|
||||||
|
FILEOS 0x00000004L // VOS__WINDOWS32
|
||||||
|
FILETYPE 0x00000001L // VFT_APP
|
||||||
|
FILESUBTYPE 0x0L // VFT2_UNKNOWN
|
||||||
|
{
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
{
|
||||||
|
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
|
||||||
|
{
|
||||||
|
VALUE "LegalCopyright", "Copyright (C) 2021 Goldberg Emulator"
|
||||||
|
VALUE "InternalName", "Goldberg Emulator (win32)"
|
||||||
|
VALUE "FileVersion", "08.56.38.63"
|
||||||
|
VALUE "CompanyName", "Goldberg Emulator"
|
||||||
|
VALUE "ProductVersion", "01.00.00.02"
|
||||||
|
VALUE "FileDescription", "Goldberg Emulator"
|
||||||
|
VALUE "Source Control ID", "8563863"
|
||||||
|
VALUE "OriginalFilename", "steam.exe"
|
||||||
|
VALUE "ProductName", "Goldberg Emulator"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
{
|
||||||
|
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// ===================================================================================== 1033
|
||||||
|
LANGUAGE 0x09, 0x01 // language = English, sublanguage = US
|
||||||
|
|
||||||
|
1 VERSIONINFO
|
||||||
|
FILEVERSION 1,0,0,2
|
||||||
|
PRODUCTVERSION 1,0,0,2
|
||||||
|
FILEFLAGSMASK 0x17
|
||||||
|
FILEFLAGS 0x0
|
||||||
|
FILEOS 0x00000004L // VOS__WINDOWS32
|
||||||
|
FILETYPE 0x00000001L // VFT_APP
|
||||||
|
FILESUBTYPE 0x0L // VFT2_UNKNOWN
|
||||||
|
{
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
{
|
||||||
|
BLOCK "040904b0" // language code = U.S. English, character-set identifier = Unicode
|
||||||
|
{
|
||||||
|
VALUE "CompanyName", "Goldberg Emulator"
|
||||||
|
VALUE "FileDescription", "Goldberg Emulator"
|
||||||
|
VALUE "FileVersion", "1, 0, 0, 2"
|
||||||
|
VALUE "InternalName", "Goldberg Emulator"
|
||||||
|
VALUE "LegalCopyright", "Copyright (C) 2021 Goldberg Emulator"
|
||||||
|
VALUE "OriginalFilename", "steam.exe"
|
||||||
|
VALUE "ProductName", "Goldberg Emulator"
|
||||||
|
VALUE "ProductVersion", "1, 0, 0, 2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
{
|
||||||
|
VALUE "Translation", 0x0409 0x04B0 // English language (0x409) in the Windows ANSI codepage (1252)
|
||||||
|
}
|
||||||
|
}
|
1
resources/win/launcher/SOURCE_CONTROL_ID.txt
Normal file
1
resources/win/launcher/SOURCE_CONTROL_ID.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
8563863
|
Loading…
x
Reference in New Issue
Block a user