mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 07:29:59 -07:00
Revert silent IPC error drop, restore expect per review
This commit is contained in:
@@ -7,7 +7,9 @@ async fn run_installer(app_handle: tauri::AppHandle, args: String) -> anyhow::Re
|
||||
installer::run_with_callback(
|
||||
args_vec.iter().map(|s| s.as_str()),
|
||||
Some(Box::new(move |output| {
|
||||
let _ = app_handle.emit("installer-output", output);
|
||||
app_handle
|
||||
.emit("installer-output", output)
|
||||
.expect("Error sending Rayhunter CLI installer output to GUI frontend");
|
||||
})),
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user