Closed 3517277 closed 1 week ago
What if you leave app > security > capabilities
empty and only keep src-tauri/capabilities/default.json5
?
What if you leave
app > security > capabilities
empty and only keepsrc-tauri/capabilities/default.json5
?
Then you run success,but it tips :“window.close not allowed. Permissions associated with this command: window:allow-close ” when you close or min or max
Hmm, that's weird, does it work if you convert the capability file from json5 to json?
Hmm, that's weird, does it work if you convert the capability file from json5 to json?
Yes,convert the capability file and tauri.config file from json5 to josn. it does working properly.But why?Is it a bug ?
Probably a bug then, I'll take a look into it
Probably a bug then, I'll take a look into it
Thank you, I will pay attention to the version update
Describe the bug
I follow the official documents exactly,But It not effect. but I refer to issue answer to delete src-tauri/capabilities/default.json5 conmment and add to tauri.config.json,then it is work order!look like this:
2、edit [tauri.config.json]
compile ..... It panic:
I expnad tauri::generate_context!(),the code look like this
so,is this has bug?After Defulat::default an empty BtreeMap, Next,remove item in it ?Is It always error?
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
Additional context
No response