Skip to content

Commit

Permalink
hotfix to get the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Renardjojo committed Feb 26, 2023
1 parent 1cc68b6 commit 1f7140c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

set(PROJECT_NAME "PetForDesktop")
set(PROJECT_VERSION 1.3.0)
set(PROJECT_VERSION 1.3.1)
set(REL_RESOURCES_DIR "content")

set(ABS_RESOURCE_DIR "${CMAKE_SOURCE_DIR}/${REL_RESOURCES_DIR}")
Expand Down
2 changes: 1 addition & 1 deletion include/Engine/Updater.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class Updater
{
if (matches[1] != "v" PROJECT_VERSION)
{
pattern = "\"body\":\\s*\"(.*?)\"";
pattern = R"("body"\s*:\s*"([^"]*)\")";
std::string content = std::string(PROJECT_NAME " ") + matches[1].str() + " is available. Do you want download it ?";
// Looking for changelog
if (std::regex_search(json, matches, pattern))
Expand Down

0 comments on commit 1f7140c

Please sign in to comment.