mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-12 06:24:23 -04:00
Merge branch 'main' of https://github.com/spacedriveapp/spacedrive
This commit is contained in:
commit
6fb727bd2c
1 file changed
+8
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user