From e8a134ece295187cc8bb606bbcdb5a141817de74 Mon Sep 17 00:00:00 2001 From: VirtualHotBar Date: Tue, 7 May 2024 16:26:17 +0800 Subject: [PATCH] linux --- package.json | 2 +- src-tauri/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ef61d85..bd5f116 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "preview": "vite preview", "tauri": "tauri", "tauri-dev": "tauri dev", - "tauri-build": "tauri build " + "tauri-build": "tauri build" }, "dependencies": { "@ant-design/charts": "^2.0.3", diff --git a/src-tauri/build.rs b/src-tauri/build.rs index d30dd0a..98a34c0 100644 --- a/src-tauri/build.rs +++ b/src-tauri/build.rs @@ -16,7 +16,7 @@ fn check_rclone() { let bin_path = "res/bin/"; if !Path::new(bin_path).exists() { - std::fs::create_dir(bin_path).expect("Failed to create rclone directory"); + std::fs::create_dir_all(bin_path).expect("Failed to create rclone directory"); }; let temp_dir = Path::new("res/temp/");