Remove ksud path to make xi and vvb happy (#1251)

Not creating new historical legacy
This commit is contained in:
Nullptr
2024-01-05 17:28:06 +08:00
committed by GitHub
parent 52f5727875
commit b82fc971dd

View File

@@ -48,9 +48,6 @@ enum Commands {
command: Profile, command: Profile,
}, },
/// Print KernelSU tmpfs path
Path,
/// For developers /// For developers
Debug { Debug {
#[command(subcommand)] #[command(subcommand)]
@@ -231,10 +228,6 @@ pub fn run() -> Result<()> {
Profile::DeleteTemplate { id } => crate::profile::delete_template(id), Profile::DeleteTemplate { id } => crate::profile::delete_template(id),
Profile::ListTemplates => crate::profile::list_templates(), Profile::ListTemplates => crate::profile::list_templates(),
}, },
Commands::Path => {
println!("{}", utils::get_tmp_path());
Ok(())
}
Commands::Debug { command } => match command { Commands::Debug { command } => match command {
Debug::SetManager { apk } => debug::set_manager(&apk), Debug::SetManager { apk } => debug::set_manager(&apk),