Skip to content

Commit

Permalink
fix: attempt to use open::detached for #88 and #91
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <[email protected]>
  • Loading branch information
Martichou committed Aug 11, 2024
1 parent 6f96ecb commit ab2427f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/legacy/src-tauri/src/cmds/open_url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pub fn open_url(message: String) -> Result<(), String> {
info!("open_url: {:?}", &message);

match open::that(message) {
match open::that_detached(message) {
Ok(_) => {
trace!("open_url: success");

Expand Down
2 changes: 1 addition & 1 deletion app/main/src-tauri/src/cmds/open_url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pub fn open_url(message: String) -> Result<(), String> {
info!("open_url: {:?}", &message);

match open::that(message) {
match open::that_detached(message) {
Ok(_) => {
trace!("open_url: success");

Expand Down

0 comments on commit ab2427f

Please sign in to comment.