This commit is contained in:
lubeilin
2024-03-19 23:54:33 +08:00
parent b36cc352d5
commit 30b1e71aa1
9 changed files with 16 additions and 17 deletions
+1
View File
@@ -31,6 +31,7 @@ impl VntCallback for VntHandler {
}
fn error(&self, info: ErrorInfo) {
log::error!("error {:?}", info);
println!("{}", style(format!("error {}", info)).red());
match info.code {
ErrorType::TokenError
+1 -1
View File
@@ -15,8 +15,8 @@ use vnt::core::{Config, Vnt};
mod command;
mod config;
mod console_out;
mod root_check;
mod generated_serial_number;
mod root_check;
pub fn app_home() -> io::Result<PathBuf> {
let root_path = match std::env::current_exe() {