mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 21:24:05 +02:00
new logo
This commit is contained in:
parent
6a8599df76
commit
6c16a79987
50 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@ mod utils;
|
|||
use tauri::{Manager, Listener};
|
||||
use tauri_plugin_autostart::MacosLauncher;
|
||||
use tauri_plugin_prevent_default::Flags;
|
||||
use tauri::WindowEvent;
|
||||
|
||||
fn main() {
|
||||
tauri::Builder::default()
|
||||
|
@ -60,7 +59,7 @@ fn main() {
|
|||
})
|
||||
.on_window_event(|app, event| {
|
||||
#[cfg(not(dev))]
|
||||
if let WindowEvent::Focused(false) = event {
|
||||
if let tauri::WindowEvent::Focused(false) = event {
|
||||
if let Some(window) = app.get_webview_window("main") {
|
||||
let _ = window.hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue