Ver Fonte

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

Kasper há 3 anos atrás
pai
commit
d692e969cd
1 ficheiros alterados com 2 adições e 2 exclusões
  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`