tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

i18n(zh-cn): Update `deep-linking.mdx` following the update of `deep-linking`'s `configuration`

Open wtto00 opened this issue 4 months ago • 1 comments

Description

The latest configuration of the deep-linking plugin has changed, but the zh-cn translation still follows the old configuration format.

Current configuration:

{
  "plugins": {
    "deep-link": {
      "domains": [
        { "host": "your.website.com", "pathPrefix": ["/open"] },
        { "host": "another.site.br" }
      ]
    }
  }
}

Modify to:

{
  "plugins": {
    "deep-link": {
      "mobile": [
        { "host": "your.website.com", "pathPrefix": ["/open"] },
        { "host": "another.site.br" }
      ],
      "desktop": {
        "schemes": ["something", "my-tauri-app"]
      }
    }
  }
}

wtto00 avatar Oct 16 '24 06:10 wtto00