Skip to content

Commit 0e6edeb

Browse files
authored
fix(cli): Don't add pkg-config to deb (#4508)
1 parent 94e581b commit 0e6edeb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'cli.js': patch
3+
'cli.rs': patch
4+
---
5+
6+
No longer adds the `pkg-config` dependency to `.deb` packages when the `systemTray` is used.
7+
This only works with recent versions of `libappindicator-sys` (including https://github.com/tauri-apps/libappindicator-rs/pull/38),
8+
so a `cargo update` may be necessary if you create `.deb` bundles and use the tray feature.

tooling/cli/src/interface/rust.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,6 @@ fn tauri_config_to_bundle_settings(
862862
#[cfg(target_os = "linux")]
863863
{
864864
if let Some(system_tray_config) = &system_tray_config {
865-
depends.push("pkg-config".to_string());
866865
let tray = std::env::var("TAURI_TRAY").unwrap_or_else(|_| "ayatana".to_string());
867866
if tray == "ayatana" {
868867
depends.push("libayatana-appindicator3-1".into());

0 commit comments

Comments
 (0)