refactor: rename
This commit is contained in:
parent
e369311fc2
commit
9ad8f71d7c
@ -1,5 +1,5 @@
|
|||||||
use crate::{
|
use crate::{
|
||||||
config::{ClashInfo, ProfileItem, ProfilesConfig, VergeConfig},
|
core::{ClashInfo, ProfileItem, ProfilesConfig, VergeConfig},
|
||||||
states::{ClashState, ProfilesState, VergeState},
|
states::{ClashState, ProfilesState, VergeState},
|
||||||
utils::{
|
utils::{
|
||||||
config::{read_clash, save_clash},
|
config::{read_clash, save_clash},
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
extern crate tauri;
|
extern crate tauri;
|
||||||
|
|
||||||
mod cmds;
|
mod cmds;
|
||||||
mod config;
|
mod core;
|
||||||
mod states;
|
mod states;
|
||||||
mod utils;
|
mod utils;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use crate::config::{Clash, ProfilesConfig, Verge};
|
use crate::core::{Clash, ProfilesConfig, Verge};
|
||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use crate::config::{ProfileExtra, ProfileResponse};
|
use crate::core::{ProfileExtra, ProfileResponse};
|
||||||
use std::{
|
use std::{
|
||||||
str::FromStr,
|
str::FromStr,
|
||||||
time::{SystemTime, UNIX_EPOCH},
|
time::{SystemTime, UNIX_EPOCH},
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use super::{init, server};
|
use super::{init, server};
|
||||||
use crate::{config::ProfilesConfig, states};
|
use crate::{core::ProfilesConfig, states};
|
||||||
use tauri::{App, AppHandle, Manager};
|
use tauri::{App, AppHandle, Manager};
|
||||||
|
|
||||||
/// handle something when start app
|
/// handle something when start app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user