Files
asusctl/rog-control-center/build.rs
Luke D. Jones a88c33c201 MOrE
2024-03-02 23:49:11 +13:00

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();
}