From 4c9dad49c46dab70cc3053eeff0b72022d38cb7a Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Sat, 9 Jul 2022 23:14:48 -0700 Subject: [PATCH] version bump --- package.json | 2 +- src-tauri/src/file_helpers.rs | 2 +- src-tauri/tauri.conf.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 323e822..cc5729e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cultivation", - "version": "1.0.1", + "version": "1.0.2", "private": true, "dependencies": { "@tauri-apps/api": "^1.0.0-rc.5", diff --git a/src-tauri/src/file_helpers.rs b/src-tauri/src/file_helpers.rs index db7ba19..d27f354 100644 --- a/src-tauri/src/file_helpers.rs +++ b/src-tauri/src/file_helpers.rs @@ -40,7 +40,7 @@ pub fn copy_file(path: String, new_path: String) -> bool { let mut new_path_buf = std::path::PathBuf::from(&new_path); // If the new path doesn't exist, create it. - if !file_helpers::dir_exists(new_path_buf.pop().to_string().as_str()) { + if !dir_exists(new_path_buf.pop().to_string().as_str()) { std::fs::create_dir_all(&new_path).unwrap(); } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 58af5c8..5b56d15 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -7,7 +7,7 @@ }, "package": { "productName": "Cultivation", - "version": "1.0.1" + "version": "1.0.2" }, "tauri": { "allowlist": {