refactor: rename

This commit is contained in:
GyDi 2022-01-08 01:27:25 +08:00
parent e369311fc2
commit 9ad8f71d7c
9 changed files with 5 additions and 5 deletions

View File

@ -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},

View File

@ -6,7 +6,7 @@
extern crate tauri;
mod cmds;
mod config;
mod core;
mod states;
mod utils;

View File

@ -1,4 +1,4 @@
use crate::config::{Clash, ProfilesConfig, Verge};
use crate::core::{Clash, ProfilesConfig, Verge};
use std::sync::{Arc, Mutex};
#[derive(Default)]

View File

@ -1,4 +1,4 @@
use crate::config::{ProfileExtra, ProfileResponse};
use crate::core::{ProfileExtra, ProfileResponse};
use std::{
str::FromStr,
time::{SystemTime, UNIX_EPOCH},

View File

@ -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