From 6ccdb7addd09d06bbe21ec2e0348edb55447a385 Mon Sep 17 00:00:00 2001 From: jugeeya Date: Fri, 18 Aug 2023 01:29:30 -0700 Subject: [PATCH] Hotfix for auto-updater crash at launch --- src/common/release.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]