打包脚本进去 #11

Closed
opened 2025-03-07 16:59:17 +08:00 by uiYzzi · 1 comment
Owner

src-tauri/tauri.conf.json 文件

示例:

"bundle": {
      "linux": {
          "deb": {
              "preInstallScript": "./preinst_script.sh",
              "postInstallScript": "./postinst_script.sh",
              "preRemoveScript": "./prerm_script.sh",
              "postRemoveScript": "./postrm_script.sh"
          },
          "files": {
              "/usr/share/README.md": "../README.md", // copies the README.md file to /usr/share/README.md
              "/usr/share/assets": "../assets/" // copies the entire assets directory to /usr/share/assets
        }
     }
}
src-tauri/tauri.conf.json 文件 示例: ``` "bundle": { "linux": { "deb": { "preInstallScript": "./preinst_script.sh", "postInstallScript": "./postinst_script.sh", "preRemoveScript": "./prerm_script.sh", "postRemoveScript": "./postrm_script.sh" }, "files": { "/usr/share/README.md": "../README.md", // copies the README.md file to /usr/share/README.md "/usr/share/assets": "../assets/" // copies the entire assets directory to /usr/share/assets } } } ```
Owner

转为CI手动打包

转为CI手动打包
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: spark-store-project/spark-store-neo#11