mirror of
https://github.com/neosubhamoy/pytubepp-helper.git
synced 2026-02-04 11:22:22 +05:30
(refactor): migrated tauri project to v2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use directories::ProjectDirs;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fs;
|
||||
use directories::ProjectDirs;
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
@@ -10,9 +10,7 @@ pub struct Config {
|
||||
|
||||
impl Default for Config {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
port: 3030,
|
||||
}
|
||||
Self { port: 3030 }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,4 +32,4 @@ pub fn load_config() -> Config {
|
||||
}
|
||||
}
|
||||
Config::default()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user