feat: upgrade Rust code to full Tauri 2.0 compatibility
- Add tauri-plugin-shell and tauri-plugin-opener dependencies - Update permissions configuration to support shell and opener operations - Refactor open_config_folder and open_external commands to use secure plugin APIs - Remove unsafe direct std::process::Command usage - Initialize necessary Tauri plugins - Ensure all external operations comply with Tauri 2.0 security standards
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
"main"
|
||||
],
|
||||
"permissions": [
|
||||
"core:default"
|
||||
"core:default",
|
||||
"shell:allow-open",
|
||||
"shell:allow-execute",
|
||||
"opener:default"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user