improv: enable dbus-config by default, but only for Linux targets
This commit is contained in:
parent
6e7a634398
commit
e7b7c3a126
4 changed files with 14 additions and 12 deletions
|
|
@ -101,7 +101,7 @@ where
|
|||
pub fn init(
|
||||
(mut core, flags): (Core, T::Flags),
|
||||
) -> (Self, iced::Task<crate::Action<T::Message>>) {
|
||||
#[cfg(feature = "dbus-config")]
|
||||
#[cfg(all(feature = "dbus-config", target_os = "linux"))]
|
||||
{
|
||||
use iced_futures::futures::executor::block_on;
|
||||
core.settings_daemon = block_on(cosmic_config::dbus::settings_daemon_proxy()).ok();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue