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 <m@rtin.fyi>
  • Loading branch information
Martichou committed Aug 9, 2024
1 parent 8850ef9 commit 1aa56ea
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 1aa56ea

Please # to comment.