瀏覽代碼

Document tauri.conf.json version & name defaults (#2550)

Kasper 3 年之前
父節點
當前提交
d692e969cd
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/api/config.md

+ 2 - 2
docs/api/config.md

@@ -45,8 +45,8 @@ In addition to the JSON defined on the `tauri.conf.json` file, Tauri reads a pla
 ## `package`
 
 <Properties anchorRoot="package" rows={[
-  { property: "productName", optional: true, type: "string", description: `Application name. The binary name is converted to snake-case on Linux.` },
-  { property: "version", optional: true, type: "string", description: `Application version.` }
+  { property: "productName", optional: true, type: "string", description: `Application name. Defaults to the package name specified in Cargo.toml. The binary name is converted to snake-case on Linux.` },
+  { property: "version", optional: true, type: "string", description: `Application version. Defaults to the version specified in Cargo.toml.` }
 ]}/>
 
 ## `tauri`