Skip to content

Commit

Permalink
opener
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Nov 26, 2024
1 parent 06c4ed3 commit de10bab
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions crates/tauri-cli/src/interface/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,20 @@ impl AppSettings for RustAppSettings {
}
}

if let Some(deps) = self
.manifest
.lock()
.unwrap()
.inner
.as_table()
.get("dependencies")
.and_then(|f| f.as_table())
{
if deps.contains_key("tauri-plugin-opener") {
settings.appimage.bundle_xdg_open = true;
};
}

Ok(settings)
}

Expand Down

0 comments on commit de10bab

Please sign in to comment.