From 5f8445acccbbda2e118bd7fe98833171a986229b Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 30 Jan 2025 19:16:17 -0500 Subject: update build number fetch --- src/startup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/startup.cpp') diff --git a/src/startup.cpp b/src/startup.cpp index 50b8744..8438cb9 100644 --- a/src/startup.cpp +++ b/src/startup.cpp @@ -56,7 +56,7 @@ std::optional GetBuildNumberFromJSURL(const Glib::ustring &url, const auto res = req.execute(); if (res.error) return {}; - auto regex = Glib::Regex::create(R"(buildNumber",\(.="(\d+))"); + auto regex = Glib::Regex::create(R"(buildNumber","(\d+))"); Glib::MatchInfo match; Glib::ustring string = res.text; if (regex->match(string, match)) { -- cgit v1.2.3