diff --git a/src/common/release.rs b/src/common/release.rs index c707405..c2cda8a 100644 --- a/src/common/release.rs +++ b/src/common/release.rs @@ -12,7 +12,7 @@ use zip::ZipArchive; lazy_static! { pub static ref CURRENT_VERSION: Mutex = - Mutex::new(get_current_version().expect("Could not determine current version!")); + Mutex::new(get_current_version().unwrap_or("".to_string())); } #[derive(Debug)]