mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
18 lines
407 B
Rust
18 lines
407 B
Rust
use std::path::PathBuf;
|
|
use std::str::FromStr;
|
|
|
|
use slint_build::CompilerConfiguration;
|
|
|
|
fn main() {
|
|
// write_locales();
|
|
|
|
let root = env!("CARGO_MANIFEST_DIR");
|
|
let mut path = PathBuf::from_str(root).unwrap();
|
|
path.push("ui/main_window.slint");
|
|
slint_build::compile_with_config(
|
|
path,
|
|
CompilerConfiguration::new().with_style("cosmic-dark".into()),
|
|
)
|
|
.unwrap();
|
|
}
|