mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 02:44:17 +00:00
Hotfix for auto-updater crash at launch
This commit is contained in:
parent
cc78dc7e4a
commit
6ccdb7addd
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ use zip::ZipArchive;
|
|||
|
||||
lazy_static! {
|
||||
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)]
|
||||
|
|
Loading…
Reference in a new issue