mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 23:13:44 +08:00
chore: update
This commit is contained in:
parent
7df5ca1912
commit
373c8ec0e5
@ -162,11 +162,15 @@ pub fn create_window() {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
let window = builder
|
let window = tauri::WebviewWindowBuilder::new(
|
||||||
.decorations(false)
|
&app_handle,
|
||||||
.transparent(true)
|
"main".to_string(),
|
||||||
.build()
|
tauri::WebviewUrl::App("index.html".into()),
|
||||||
.unwrap();
|
)
|
||||||
|
.decorations(false)
|
||||||
|
.transparent(true)
|
||||||
|
.build()
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
match window.restore_state(StateFlags::all()) {
|
match window.restore_state(StateFlags::all()) {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user