adjust style

This commit is contained in:
cast1e
2024-10-16 22:29:31 +08:00
parent be030c2ae9
commit 56ccc04f2a
3 changed files with 107 additions and 47 deletions
@@ -1,6 +1,7 @@
use crate::reader;
use std::path::Path;
use std::fs;
use serde::{Deserialize, Serialize};
use tauri::ipc::Response;
#[tauri::command]
@@ -39,4 +40,17 @@ pub async fn del_folder(path: String) -> bool {
}
}
false
}
#[derive(Serialize,Deserialize)]
struct settings{
title_bar:String,
auto_start:bool,
auto_pause:bool
}
#[tauri::command]
pub async fn get_config() -> String{
if let Ok()
}