Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/NativeHost/
ShowOpenDialog.rs

1//! Wire method: `nativeHost:showOpenDialog`.
2//!
3//! Delegates to `NativeDialog::ShowOpenDialog::ShowOpenDialog`. This atom
4//! preserves the stable handler name while the actual file/folder picker
5//! lives under the NativeDialog domain (filter parsing, DialogFilter DTO,
6//! etc. each in their own atom). Prior stub returned `canceled:true`, which
7//! silently broke "Install from VSIX…"; delegation restores correctness.
8
9use serde_json::Value;
10use tauri::AppHandle;
11
12pub async fn Fn(ApplicationHandle:AppHandle, Arguments:Vec<Value>) -> Result<Value, String> {
13	crate::IPC::WindServiceHandlers::NativeDialog::ShowOpenDialog::Fn(ApplicationHandle, Arguments).await
14}