mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 21:17:32 +08:00
chore: update
This commit is contained in:
parent
f839d3bc88
commit
47848099be
@ -122,6 +122,9 @@ pub fn create_window() {
|
||||
let app_handle = handle::Handle::global().app_handle().unwrap();
|
||||
|
||||
if let Some(window) = handle::Handle::global().get_window() {
|
||||
if window.is_minimized().unwrap_or(false) {
|
||||
let _ = window.unminimize();
|
||||
}
|
||||
let _ = window.show();
|
||||
let _ = window.set_focus();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user