docs(config): improve bundle identifier documentation, closes #4203

This commit is contained in:
Lucas Nogueira
2022-06-13 17:25:22 -03:00
parent 0c45641398
commit 2ced690207
2 changed files with 4 additions and 2 deletions

View File

@@ -313,7 +313,9 @@ pub struct BundleConfig {
pub active: bool,
/// The bundle targets, currently supports ["deb", "app", "msi", "appimage", "dmg"] or "all"
pub targets: Option<BundleTarget>,
/// The app's identifier
/// The application identifier in reverse domain name notation (e.g. `com.tauri.example`).
/// This string must be unique across applications since it is used in system configurations like
/// the bundle ID and path to the webview data directory.
pub identifier: String,
/// The app's icons
#[serde(default)]

View File

@@ -912,7 +912,7 @@
]
},
"identifier": {
"description": "The app's identifier",
"description": "The application identifier in reverse domain name notation (e.g. `com.tauri.example`). This string must be unique across applications since it is used in system configurations like the bundle ID and path to the webview data directory.",
"type": "string"
},
"icon": {