feat: 引入anyhow库以增强错误处理能力

This commit is contained in:
ShirkNeko
2025-04-07 22:33:45 +08:00
parent b850336872
commit aa2d2454e1

View File

@@ -2,6 +2,7 @@ use anyhow::Result;
use notify::{Watcher, RecommendedWatcher, RecursiveMode, EventKind};
use std::path::Path;
use std::fs;
use anyhow::anyhow;
pub const KPM_DIR: &str = "/data/adb/kpm";
pub const KPMMGR_PATH: &str = "/data/adb/ksu/bin/kpmmgr";