This commit is contained in:
Mystikfluu
2023-04-03 12:36:07 +02:00
parent dfe2aec636
commit c09e478ffd
5 changed files with 10 additions and 15 deletions
+7 -7
View File
@@ -1,6 +1,6 @@
#![cfg_attr(
all(not(debug_assertions), target_os = "linux"),
windows_subsystem = "windows"
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
use std::fs::File;
@@ -94,8 +94,8 @@ fn isync_save() {
let isync_save_future = ip_lib::isync_save();
let rt = Runtime::new().unwrap();
let save_output = rt.block_on(isync_save_future);
println!("isync_save: {}",save_output);
let _save_output = rt.block_on(isync_save_future);
//println!("isync_save: {}",save_output);
}
#[tauri::command]
@@ -104,9 +104,9 @@ fn sync_isync() {
let isync_get_future = ip_lib::isync_get();
println!("going to block on isync_get");
let get_output = rt.block_on(isync_get_future);
println!("isync_get: {}",get_output);
//println!("going to block on isync_get");
let _get_output = rt.block_on(isync_get_future);
//println!("isync_get: {}",get_output);
}
fn main() {