Skip to content
Snippets Groups Projects
Commit ee26bb3b authored by GyDi's avatar GyDi
Browse files

chore: rename file

parent 2a986a3d
No related branches found
No related tags found
No related merge requests found
use crate::clash;
use crate::profiles;
use crate::import;
use tauri::api::process::kill_children;
#[tauri::command]
......@@ -10,7 +10,7 @@ pub fn cmd_restart_sidebar() {
#[tauri::command]
pub async fn cmd_import_profile(url: String) -> Result<String, String> {
match profiles::import_profile(&url).await {
match import::import_profile(&url).await {
Ok(_) => Ok(String::from("success")),
Err(_) => Err(String::from("error")),
}
......
File moved
......@@ -8,8 +8,8 @@ extern crate tauri;
mod clash;
mod cmd;
mod config;
mod import;
mod init;
mod profiles;
mod sysopt;
use tauri::{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment