fix: windows ci
This commit is contained in:
1 parent
04bb41a2c4
commit
ddccc51daf
1 file changed
+4
@@ -10,6 +10,7 @@ use dioxus::prelude::*;
|
||||
|
||||
fn main() {
|
||||
dioxus::desktop::launch_cfg(app, |c| {
|
||||
if cfg!(target_os = "macos") {
|
||||
// we can configure our primary window through the Tauri Config
|
||||
use dioxus::desktop::tao::platform::macos::*;
|
||||
c.with_window(|w| {
|
||||
@@ -18,6 +19,9 @@ fn main() {
|
||||
.with_titlebar_transparent(true)
|
||||
.with_movable_by_window_background(true)
|
||||
})
|
||||
} else {
|
||||
c
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user