Skip to content

Commit

Permalink
build(gui): fix version regex in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppzippy committed Jan 3, 2024
1 parent d05161f commit 81c472e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn windows() {
fn parse_version(version: &str) -> (&str, &str, &str) {
use regex::Regex;

let version_parts = Regex::new("([0-9])\\.([0-9])\\.([0-9])")
let version_parts = Regex::new("([0-9]+)\\.([0-9]+)\\.([0-9]+)")
.unwrap()
.captures(version)
.unwrap();
Expand Down

0 comments on commit 81c472e

Please sign in to comment.