slint versions 1.6.0
main.rs
slint::slint! {
export component MainWindow inherits Window {
width: 300px;
height: 300px;
title: "my-win";
Text {
text: "hello world";
color: green;
font-size: 16px;
}
}
}
fn main() {
MainWindow::new().unwrap().run().unwrap();
}
cargo build -r
Pack out the exe file, double-click to run will open the window, but at the same time will open a black cmd window, how to make this black window disappear