output change

This commit is contained in:
Julian Freeman
2025-11-27 09:03:02 -04:00
parent 0ff1014e62
commit 93164a86d8
2 changed files with 1 additions and 15 deletions

View File

@@ -1,14 +0,0 @@
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_opener::init())
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}

View File

@@ -250,7 +250,7 @@ fn analyze_with_bluescreenview(dump_path: &Path) -> Result<BsodAnalysisReport, S
.status();
if status.is_err() {
return Err("未找到 BlueScreenView.exe无法分析内核转储文件。请将 BlueScreenView.exe 放入程序目录".to_string());
return Err("未找到 BlueScreenView.exe或没有以管理员运行".to_string());
}
// [修改] 使用 fs::read 读取原始字节,然后有损转换为 String