Browse Source

Z991239-5285 #comment 将壁纸和启动脚本均打包

80374374 1 year ago
parent
commit
1d18b2993d
1 changed files with 7 additions and 0 deletions
  1. 7 0
      CMakeLists.txt

+ 7 - 0
CMakeLists.txt

@@ -668,6 +668,13 @@ else(MSVC)
 			set(CPACK_GENERATOR "ZIP")
 			message(STATUS "set zip package file type for matching head bank publish")
 		endif()
+		install(CODE "execute_process(COMMAND 'chmod 0777 ${CMAKE_SOURCE_DIR}/addin/packaging/DEBIAN/*')")
+		install(FILES "${CMAKE_SOURCE_DIR}/addin/packaging/DEBIAN/logo.png"
+			"${CMAKE_SOURCE_DIR}/addin/packaging/DEBIAN/spexplorerauto.desktop"
+			DESTINATION "${PACK_INSTALL_RVC_DIR}/Resources" COMPONENT resources)
+		install(FILES "${CMAKE_SOURCE_DIR}/addin/packaging/DEBIAN/WallPaper1280.png"
+			"${CMAKE_SOURCE_DIR}/addin/packaging/DEBIAN/WallPaper1920.png"
+			DESTINATION "/usr/share/wallpapers/deepin/" COMPONENT resources)
 	endif(PACK_AS_DEB_PKG)
 endif(MSVC)