mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-22 05:34:04 +02:00
parent
f2f554074b
commit
d0b551b3fd
22 changed files with 1171 additions and 1493 deletions
|
@ -6,7 +6,6 @@
|
|||
mod api;
|
||||
mod utils;
|
||||
|
||||
use tauri::window::{Effect, EffectState, EffectsBuilder};
|
||||
use tauri::Manager;
|
||||
use tauri::WebviewUrl;
|
||||
use tauri::WebviewWindow;
|
||||
|
@ -46,9 +45,7 @@ fn main() {
|
|||
.visible(false)
|
||||
.decorations(false)
|
||||
.transparent(true)
|
||||
.always_on_top(true)
|
||||
.content_protected(true)
|
||||
.visible_on_all_workspaces(true)
|
||||
.always_on_top(false)
|
||||
.build()?
|
||||
};
|
||||
|
||||
|
@ -71,13 +68,6 @@ fn main() {
|
|||
api::updater::check_for_updates(app_handle).await;
|
||||
});
|
||||
|
||||
main_window.set_effects(
|
||||
EffectsBuilder::new()
|
||||
.effect(Effect::Popover)
|
||||
.state(EffectState::Active)
|
||||
.build(),
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
})
|
||||
.on_window_event(|_app, _event| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue