mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
chore: update
This commit is contained in:
@@ -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(_) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user