repo: 采用项目中完整的 Linux 资源文件安装

This commit is contained in:
zinface 2023-02-06 10:31:30 +08:00
parent 3eb29c2e90
commit 23eb1564b7
1 changed files with 7 additions and 5 deletions

View File

@ -100,12 +100,14 @@ if(CMAKE_HOST_UNIX)
# : Category= # : Category=
"Development" "Development"
) )
spark_install_file(/usr/share/applications/ ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.desktop) # spark_install_file(/usr/share/applications/ ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.desktop)
spark_install_file(/usr/share/notepad--/icons/ assets/spark.png) # spark_install_file(/usr/share/notepad--/icons/ assets/spark.png)
spark_install_target(/usr/bin/ ${PROJECT_NAME}) # spark_install_target(/usr/bin/ ${PROJECT_NAME})
# TODO线 linux/destkop PR使 # 线 linux/destkop PR使
# spark_install_directory(/usr src/linux/usr/*) # Linux # spark_desktop_macros Appimage
# Appimage 要求(使用来自 Spark 构建的 Desktop 构建中配置的信息(必须要求 spark-desktop))
spark_install_directory(/usr src/linux/usr/*) # Linux
# ------------------ INSTALL PLUGIN CONFIG ------------------ # # ------------------ INSTALL PLUGIN CONFIG ------------------ #
# ------------------ INSTALL PLUGIN CONFIG ------------------ # # ------------------ INSTALL PLUGIN CONFIG ------------------ #