From 23eb1564b7cf2d4936bf726795d3ae7b5dbe2c4a Mon Sep 17 00:00:00 2001 From: zinface Date: Mon, 6 Feb 2023 10:31:30 +0800 Subject: [PATCH] =?UTF-8?q?repo:=20=E9=87=87=E7=94=A8=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E4=B8=AD=E5=AE=8C=E6=95=B4=E7=9A=84=20Linux=20=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=96=87=E4=BB=B6=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28b3007..b8f5fa7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,12 +100,14 @@ if(CMAKE_HOST_UNIX) # 应用分类: Category= "Development" ) - spark_install_file(/usr/share/applications/ ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.desktop) - spark_install_file(/usr/share/notepad--/icons/ assets/spark.png) - spark_install_target(/usr/bin/ ${PROJECT_NAME}) + # spark_install_file(/usr/share/applications/ ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.desktop) + # spark_install_file(/usr/share/notepad--/icons/ assets/spark.png) + # spark_install_target(/usr/bin/ ${PROJECT_NAME}) - # TODO:如果主线已经将 linux/destkop 的PR合入,即可移除此部分以上部分,而使用以下部分 - # spark_install_directory(/usr src/linux/usr/*) # 完整的 Linux 资源文件 + # 完成:如果主线已经将 linux/destkop 的PR合入,即可移除此部分以上部分,而使用以下部分 + # 但 spark_desktop_macros 不能移除,因为它被 Appimage 构建部分依赖 + # Appimage 构建部分,要求(使用来自 Spark 构建的 Desktop 构建中配置的信息(必须要求 spark-desktop)) + spark_install_directory(/usr src/linux/usr/*) # 完整的 Linux 资源文件 # ------------------ INSTALL PLUGIN CONFIG ------------------ # # ------------------ INSTALL PLUGIN CONFIG ------------------ #