mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
fix: unused
This commit is contained in:
@@ -190,7 +190,8 @@ fn main() -> std::io::Result<()> {
|
||||
})
|
||||
.expect("error when exiting.");
|
||||
|
||||
app.run(|_, e| match e {
|
||||
#[allow(unused)]
|
||||
app.run(|app_handle, e| match e {
|
||||
tauri::RunEvent::ExitRequested { api, .. } => {
|
||||
api.prevent_exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user