chore: update

This commit is contained in:
huzibaca 2024-11-27 07:09:03 +08:00
parent 7df5ca1912
commit 373c8ec0e5
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -162,7 +162,11 @@ pub fn create_window() {
.unwrap();
#[cfg(target_os = "linux")]
let window = builder
let window = tauri::WebviewWindowBuilder::new(
&app_handle,
"main".to_string(),
tauri::WebviewUrl::App("index.html".into()),
)
.decorations(false)
.transparent(true)
.build()