1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-27 20:34:03 +00:00

Hotfix for auto-updater crash at launch

This commit is contained in:
jugeeya 2023-08-18 01:29:30 -07:00 committed by GitHub
parent cc78dc7e4a
commit 6ccdb7addd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ use zip::ZipArchive;
lazy_static! { lazy_static! {
pub static ref CURRENT_VERSION: Mutex<String> = pub static ref CURRENT_VERSION: Mutex<String> =
Mutex::new(get_current_version().expect("Could not determine current version!")); Mutex::new(get_current_version().unwrap_or("".to_string()));
} }
#[derive(Debug)] #[derive(Debug)]