refactor: compile applets as multicall binary

This commit is contained in:
Michael Aaron Murphy 2024-03-14 18:47:41 +01:00 • committed by Michael Murphy
parent 4099624499
commit 3c4acdacd7
48 changed files with 2393 additions and 2256 deletions

View file

@ -9,4 +9,7 @@ futures = "0.3"
libcosmic.workspace = true
serde = "1"
tokio = { version = "1.23.0" }
tracing.workspace = true
tracing-log.workspace = true
tracing-subscriber.workspace = true
zbus.workspace = true

View file

@ -0,0 +1,6 @@
mod components;
mod subscriptions;
pub fn run() -> cosmic::iced::Result {
components::app::main()
}

View file

@ -1,6 +1,10 @@
mod components;
mod subscriptions;
const VERSION: &str = env!("CARGO_PKG_VERSION");
fn main() -> cosmic::iced::Result {
components::app::main()
tracing_subscriber::fmt::init();
let _ = tracing_log::LogTracer::init();
tracing::info!("Starting status-area applet with version {VERSION}");
cosmic_applet_status_area::run()
}