aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/util.rs b/src-tauri/src/util.rs
index 75555f3e..0b91da48 100644
--- a/src-tauri/src/util.rs
+++ b/src-tauri/src/util.rs
@@ -232,5 +232,5 @@ pub fn convert_release_candidate_number(version_number: String) -> String {
// This simply converts `-rc` to `0`
// Works as intended for RCs < 10, e.g. `v1.9.2-rc1` -> `v1.9.201`
// Doesn't work for larger numbers, e.g. `v1.9.2-rc11` -> `v1.9.2011` (should be `v1.9.211`)
- version_number.replace("-rc", "0").replace("00", "")
+ version_number.replace("-rc", "0").replace(".00", ".")
}