We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0ec019 + cfe8c4a commit cfc8f31Copy full SHA for cfc8f31
src-tauri/src/lib.rs
@@ -406,7 +406,7 @@ async fn show_main_window(app: AppHandle) {
406
}
407
408
#[cfg_attr(mobile, tauri::mobile_entry_point)]
409
-pub fn run() -> HunterResult<()> {
+pub fn run() {
410
setup_logging();
411
412
trace!("初始化 tauri");
@@ -456,8 +456,7 @@ pub fn run() -> HunterResult<()> {
456
.map_err(|e| {
457
error!(message = "创建 app 失败", error = ?e);
458
e
459
- })?
+ })
460
+ .expect("Error while running tauri application")
461
.run(handle_run_event);
-
462
- Ok(())
463
src-tauri/src/utils/fs.rs
src-tauri/src/utils/mod.rs
@@ -1,6 +1,5 @@
1
pub mod download;
2
pub mod execute;
3
-pub mod fs;
4
pub mod unzip;
5
6
use reqwest::{Client, Proxy};
0 commit comments