Skip to content

Commit

Permalink
chore: open detached and with shell-execute on windows (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie-XIAO authored Feb 1, 2025
1 parent 1001f00 commit 6a42156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/deskulpt-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ anyhow = { workspace = true }
bincode = { workspace = true }
dunce = { workspace = true }
once_cell = { workspace = true }
open = { workspace = true }
open = { workspace = true, features = ["shellexecute-on-windows"] }
oxc = { workspace = true }
path-clean = { workspace = true }
rolldown = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/deskulpt-core/src/commands/open_in_widgets_dir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub async fn open_in_widgets_dir<R: Runtime>(
) -> CmdResult<()> {
let mut open_path = app_handle.widgets_dir().to_path_buf();
open_path.extend(components);
open::that(open_path)?;
open::that_detached(open_path)?;

Ok(())
}

0 comments on commit 6a42156

Please sign in to comment.