style: formatting

This commit is contained in:
PandaDEV 2024-11-22 00:16:01 +10:00
parent 3ae0313975
commit 7e6b2f8b63
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C

View file

@ -35,22 +35,18 @@ fn main() {
let main_window = if let Some(window) = app.get_webview_window("main") { let main_window = if let Some(window) = app.get_webview_window("main") {
window window
} else { } else {
WebviewWindow::builder( WebviewWindow::builder(app.handle(), "main", WebviewUrl::App("index.html".into()))
app.handle(), .title("Qopy")
"main", .resizable(false)
WebviewUrl::App("index.html".into()) .fullscreen(false)
) .inner_size(750.0, 474.0)
.title("Qopy") .focused(true)
.resizable(false) .skip_taskbar(true)
.fullscreen(false) .visible(false)
.inner_size(750.0, 474.0) .decorations(false)
.focused(true) .transparent(true)
.skip_taskbar(true) .always_on_top(false)
.visible(false) .build()?
.decorations(false)
.transparent(true)
.always_on_top(false)
.build()?
}; };
let _ = api::database::setup(app); let _ = api::database::setup(app);