Jelajahi Sumber

repo: 对 desktop 文件添加 %F 参数,以保证可正确传入参数

zinface 2 tahun lalu
induk
melakukan
c44449cd8a
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      CMakeLists.txt

+ 2 - 1
CMakeLists.txt

@@ -70,7 +70,8 @@ if(CMAKE_HOST_UNIX)
         # 应用类型: Type=
         "Application"
         # 执行程序: Exec=
-        "notepad--"
+        # 有关此 %F 参数可查看: https://gitee.com/zinface/z-tools/blob/desktop-dev/src/DesktopGenerater/desktopexecparamdialog.cpp
+        "notepad-- %F"
         # 图标路径: Icon=
         "/usr/share/notepad--/icons/spark.png"
         # 应用分类: Category=