mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-22 05:34:04 +02:00
fixed favicon support
This commit is contained in:
parent
ba0a408349
commit
a11bc18143
6 changed files with 336 additions and 43 deletions
|
@ -50,15 +50,15 @@ fn main() {
|
|||
if let Some(window) = app.get_window("main") {
|
||||
let _ = window.restore_state(StateFlags::POSITION);
|
||||
center_window_on_current_monitor(&window);
|
||||
window.show().unwrap();
|
||||
window.hide().unwrap();
|
||||
}
|
||||
|
||||
#[cfg(dev)]
|
||||
{
|
||||
let window = app.get_webview_window("main").unwrap();
|
||||
window.open_devtools();
|
||||
window.close_devtools();
|
||||
}
|
||||
// #[cfg(dev)]
|
||||
// {
|
||||
// let window = app.get_webview_window("main").unwrap();
|
||||
// window.open_devtools();
|
||||
// window.close_devtools();
|
||||
// }
|
||||
|
||||
Ok(())
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue