mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-18 23:39:10 +00:00
Merge branch 'main' of https://github.com/spacedriveapp/spacedrive
This commit is contained in:
commit
6fb727bd2c
|
@ -1,4 +1,5 @@
|
|||
use std::time::{Duration, Instant};
|
||||
use std::env::consts;
|
||||
|
||||
use sdcore::{ClientCommand, ClientQuery, Core, CoreController, CoreEvent, CoreResponse};
|
||||
use tauri::api::path;
|
||||
|
@ -58,10 +59,17 @@ async fn main() {
|
|||
app.windows().iter().for_each(|(_, window)| {
|
||||
window_shadows::set_shadow(&window, true).unwrap_or(());
|
||||
|
||||
if consts::OS == "windows" {
|
||||
window.set_decorations(true);
|
||||
println!("Hello World!");
|
||||
}
|
||||
|
||||
window.start_dragging().unwrap_or(());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
// core event transport
|
||||
tokio::spawn(async move {
|
||||
let mut last = Instant::now();
|
||||
|
|
Loading…
Reference in a new issue