feat: 引入anyhow库以增强错误处理能力
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user