From d8407adf4c0f6ef83789713e94e78767cc4807b4 Mon Sep 17 00:00:00 2001 From: PrintedScript <64908610+PrintedScript@users.noreply.github.com> Date: Sun, 7 Jan 2024 21:04:30 +0800 Subject: [PATCH] fix loop install issue --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e4d5b44..1d33c26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1261,7 +1261,7 @@ dependencies = [ [[package]] name = "syntax_bootstrapper" -version = "1.3.1" +version = "1.3.2" dependencies = [ "chrono", "colored", diff --git a/Cargo.toml b/Cargo.toml index b3061c8..e4f57f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "syntax_bootstrapper" -version = "1.3.1" +version = "1.3.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 7f75e2c..c6b0126 100644 --- a/src/main.rs +++ b/src/main.rs @@ -281,7 +281,7 @@ async fn main() { // So delete the every file in the current version directory except for the Bootstrapper itself let app_settings_path = current_version_directory.join("AppSettings.xml"); let client_executable_path = current_version_directory.join("SyntaxPlayerBeta.exe"); - if !app_settings_path.exists() || !client_executable_path.exists() { + if !app_settings_path.exists() { //|| !client_executable_path.exists() { info("Downloading the latest client files, this may take a while."); for entry in std::fs::read_dir(¤t_version_directory).unwrap() { let entry = entry.unwrap();