File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
66set (CMAKE_CXX_EXTENSIONS OFF )
77
88set (PROJECT_NAME "PetForDesktop" )
9- set (PROJECT_VERSION 1.3.0 )
9+ set (PROJECT_VERSION 1.3.1 )
1010set (REL_RESOURCES_DIR "content" )
1111
1212set (ABS_RESOURCE_DIR "${CMAKE_SOURCE_DIR} /${REL_RESOURCES_DIR} " )
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class Updater
115115 {
116116 if (matches[1 ] != " v" PROJECT_VERSION)
117117 {
118- pattern = " \ " body\" : \\ s* \" (.*? )\" " ;
118+ pattern = R"( "body"\s*:\s*"([^"]* )\") " ;
119119 std::string content = std::string (PROJECT_NAME " " ) + matches[1 ].str () + " is available. Do you want download it ?" ;
120120 // Looking for changelog
121121 if (std::regex_search (json, matches, pattern))
You can’t perform that action at this time.
0 commit comments