fix loop install issue

This commit is contained in:
PrintedScript 2024-01-07 21:04:30 +08:00
parent 6252a72b2e
commit d8407adf4c
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1261,7 +1261,7 @@ dependencies = [
[[package]]
name = "syntax_bootstrapper"
version = "1.3.1"
version = "1.3.2"
dependencies = [
"chrono",
"colored",

View File

@ -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

View File

@ -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(&current_version_directory).unwrap() {
let entry = entry.unwrap();