diff CMakeLists.txt @ 124:4c812fdf82a6

linux: add material for creating appimages, upload artifacts after CI build
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 00:57:05 -0500
parents 275da698697d
children 859d2a957940
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Nov 08 21:40:02 2023 -0500
+++ b/CMakeLists.txt	Thu Nov 09 00:57:05 2023 -0500
@@ -177,6 +177,17 @@
 		rc/win32/resource.rc
 		${CMAKE_CURRENT_BINARY_DIR}/rc/version.rc
 	)
+elseif(LINUX)
+	configure_file(
+		${CMAKE_CURRENT_SOURCE_DIR}/rc/linux/Minori.desktop.in
+		${CMAKE_CURRENT_BINARY_DIR}/rc/Minori.desktop
+		@ONLY
+	)
+	configure_file(
+		${CMAKE_CURRENT_SOURCE_DIR}/rc/favicon256.png
+		${CMAKE_CURRENT_BINARY_DIR}/rc/Minori.png
+		COPYONLY
+	)
 endif()
 
 add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES})