mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
fix: show windows on click
This commit is contained in:
@@ -98,6 +98,7 @@ pub fn create_window(app_handle: &AppHandle) {
|
|||||||
|
|
||||||
tauri::async_runtime::spawn(async move {
|
tauri::async_runtime::spawn(async move {
|
||||||
if let Some(window) = app_handle.get_window("main") {
|
if let Some(window) = app_handle.get_window("main") {
|
||||||
|
let _ = window.show();
|
||||||
let _ = set_shadow(&window, true);
|
let _ = set_shadow(&window, true);
|
||||||
|
|
||||||
if !winhelp::is_win11() {
|
if !winhelp::is_win11() {
|
||||||
|
|||||||
Reference in New Issue
Block a user