mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix(cli): Don't add pkg-config to deb (#4508)
This commit is contained in:
8
.changes/bundler-deb-rm-pkg-config.md
Normal file
8
.changes/bundler-deb-rm-pkg-config.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'cli.js': patch
|
||||
'cli.rs': patch
|
||||
---
|
||||
|
||||
No longer adds the `pkg-config` dependency to `.deb` packages when the `systemTray` is used.
|
||||
This only works with recent versions of `libappindicator-sys` (including https://github.com/tauri-apps/libappindicator-rs/pull/38),
|
||||
so a `cargo update` may be necessary if you create `.deb` bundles and use the tray feature.
|
||||
@@ -862,7 +862,6 @@ fn tauri_config_to_bundle_settings(
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
if let Some(system_tray_config) = &system_tray_config {
|
||||
depends.push("pkg-config".to_string());
|
||||
let tray = std::env::var("TAURI_TRAY").unwrap_or_else(|_| "ayatana".to_string());
|
||||
if tray == "ayatana" {
|
||||
depends.push("libayatana-appindicator3-1".into());
|
||||
|
||||
Reference in New Issue
Block a user