@@ -1,5 +1,5 @@
use crate::{
- config::{ClashInfo, ProfileItem, ProfilesConfig, VergeConfig},
+ core::{ClashInfo, ProfileItem, ProfilesConfig, VergeConfig},
states::{ClashState, ProfilesState, VergeState},
utils::{
config::{read_clash, save_clash},
@@ -6,7 +6,7 @@
extern crate tauri;
mod cmds;
-mod config;
+mod core;
mod states;
mod utils;
@@ -1,4 +1,4 @@
-use crate::config::{Clash, ProfilesConfig, Verge};
+use crate::core::{Clash, ProfilesConfig, Verge};
use std::sync::{Arc, Mutex};
#[derive(Default)]
-use crate::config::{ProfileExtra, ProfileResponse};
+use crate::core::{ProfileExtra, ProfileResponse};
use std::{
str::FromStr,
time::{SystemTime, UNIX_EPOCH},
use super::{init, server};
-use crate::{config::ProfilesConfig, states};
+use crate::{core::ProfilesConfig, states};
use tauri::{App, AppHandle, Manager};
/// handle something when start app