Add server icon and fix Installer shortcuts

This commit is contained in:
Kae 2024-04-22 13:23:57 +10:00
parent 52dae03aae
commit ad72057c38
8 changed files with 46 additions and 10 deletions

View File

@ -4,6 +4,7 @@
#define AppName "OpenStarbound"
#define AppVersion "1.0"
#define AppExeName "starbound.exe"
#define AppServerExeName "starbound_server.exe"
[Setup]
SourceDir={#SourcePath}\..\..\
@ -42,8 +43,12 @@ Source: "windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs creat
Name: "{app}"; Permissions: users-modify
[Icons]
Name: "{autoprograms}\{#AppName}"; Filename: "{app}\{#AppExeName}"
Name: "{autodesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
; Client
Name: "{autoprograms}\{#AppName}"; Filename: "{app}\win\{#AppExeName}"
Name: "{autodesktop}\{#AppName}"; Filename: "{app}\win\{#AppExeName}"; Tasks: desktopicon
; Server
Name: "{autoprograms}\{#AppName} Server"; Filename: "{app}\win\{#AppServerExeName}"
Name: "{autodesktop}\{#AppName} Server"; Filename: "{app}\win\{#AppServerExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\win\{#AppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(AppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -1,19 +1,19 @@
1 VERSIONINFO
FILEVERSION 0,9,0,0
PRODUCTVERSION 0,9,0,0
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Chucklefish LTD"
VALUE "FileDescription", "Starbound"
VALUE "FileVersion", "0.9beta"
VALUE "FileDescription", "OpenStarbound"
VALUE "FileVersion", "1.0"
VALUE "InternalName", "starbound"
VALUE "LegalCopyright", "Chucklefish LTD"
VALUE "OriginalFilename", "starbound.exe"
VALUE "ProductName", "Starbound"
VALUE "ProductVersion", "0.9beta"
VALUE "ProductName", "OpenStarbound"
VALUE "ProductVersion", "1.0"
END
END
@ -22,4 +22,4 @@ BEGIN
VALUE "Translation", 0x409, 1252
END
END
icon ICON "starbound-largelogo.ico"
icon ICON "starbound.ico"

View File

@ -19,9 +19,15 @@ SET (star_server_SOURCES
main.cpp
)
IF (STAR_SYSTEM_WINDOWS)
SET (star_server_RESOURCES
starbound_server.rc
)
ENDIF ()
ADD_EXECUTABLE (starbound_server
$<TARGET_OBJECTS:star_extern> $<TARGET_OBJECTS:star_core> $<TARGET_OBJECTS:star_base> $<TARGET_OBJECTS:star_game>
${star_server_HEADERS} ${star_server_SOURCES})
${star_server_HEADERS} ${star_server_SOURCES} ${star_server_RESOURCES})
IF(STAR_PRECOMPILED_HEADERS)
TARGET_PRECOMPILE_HEADERS (starbound_server REUSE_FROM star_core)

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,25 @@
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Chucklefish LTD"
VALUE "FileDescription", "OpenStarbound Server"
VALUE "FileVersion", "1.0"
VALUE "InternalName", "starbound_server"
VALUE "LegalCopyright", "Chucklefish LTD"
VALUE "OriginalFilename", "starbound_server.exe"
VALUE "ProductName", "OpenStarbound Server"
VALUE "ProductVersion", "1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
icon ICON "starbound_server.ico"