refactor: rename
This commit is contained in:
parent
e369311fc2
commit
9ad8f71d7c
@ -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)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
use crate::config::{ProfileExtra, ProfileResponse};
|
||||
use crate::core::{ProfileExtra, ProfileResponse};
|
||||
use std::{
|
||||
str::FromStr,
|
||||
time::{SystemTime, UNIX_EPOCH},
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::{init, server};
|
||||
use crate::{config::ProfilesConfig, states};
|
||||
use crate::{core::ProfilesConfig, states};
|
||||
use tauri::{App, AppHandle, Manager};
|
||||
|
||||
/// handle something when start app
|
||||
|
Loading…
x
Reference in New Issue
Block a user