tauri-apps/tauri

[docs] There is a problem with Window Customization mentioned in the v2 document

blankTwo opened this issue · 2 comments

Document link: https://v2.tauri.app/plugin/window-customization/

{
  "$schema": "../gen/schemas/desktop-schema.json",
  "identifier": "main-capability",
  "description": "Capability for the main window",
  "windows": ["main"],
  "permissions": ["core:window:default", "core:window:allow-start-dragging"]
}

Adding permissions has no effect
image

Including core:window:allow-minimize, etc., all have the same problem.

The configuration in tauri.conf.json is as follows: It will take effect. I don't quite understand

image