Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/server
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-22 13:23:57 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-22 13:23:57 +1000
commitad72057c38096a8d60086ddccc251dfcbcdb9d91 (patch)
tree38f58c9625584b4e00f8cd88c4080151c465df6f /source/server
parent52dae03aae84afa78a9dbfc68976e99fd1b20ee2 (diff)
Add server icon and fix Installer shortcuts
Diffstat (limited to 'source/server')
-rw-r--r--source/server/CMakeLists.txt8
-rw-r--r--source/server/starbound_server.icobin0 -> 6820 bytes
-rw-r--r--source/server/starbound_server.rc25
3 files changed, 32 insertions, 1 deletions
diff --git a/source/server/CMakeLists.txt b/source/server/CMakeLists.txt
index 697aca3..b2ab4d1 100644
--- a/source/server/CMakeLists.txt
+++ b/source/server/CMakeLists.txt
@@ -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)
diff --git a/source/server/starbound_server.ico b/source/server/starbound_server.ico
new file mode 100644
index 0000000..74205c2
--- /dev/null
+++ b/source/server/starbound_server.ico
Binary files differ
diff --git a/source/server/starbound_server.rc b/source/server/starbound_server.rc
new file mode 100644
index 0000000..c6eb4f2
--- /dev/null
+++ b/source/server/starbound_server.rc
@@ -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"