Skip to content

Commit

Permalink
finalize rework
Browse files Browse the repository at this point in the history
  • Loading branch information
razaqq committed Mar 28, 2021
1 parent abe6a72 commit 18a1b13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ generate_product_version(
ICON ${PROJECT_SOURCE_DIR}/Resources/potato.ico
VERSION_MAJOR 3
VERSION_MINOR 0
VERSION_PATCH ${BUILD_COUNTER}
VERSION_PATCH 0
VERSION_REVISION ${BUILD_REVISION}
)

Expand Down
3 changes: 2 additions & 1 deletion updater/Updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ using PotatoAlert::Logger;
namespace fs = std::filesystem;

// needs libssl-1_1-x64.dll and libcrypto-1_1-x64.dll from OpenSSL
static std::string_view updateURL = "https://ci.appveyor.com/api/projects/razaqq/potatoalert2/artifacts/build/PotatoAlert.zip";
// static std::string_view updateURL = "https://ci.appveyor.com/api/projects/razaqq/potatoalert2/artifacts/build/PotatoAlert.zip";
static std::string_view updateURL = "https://github.com/razaqq/PotatoAlert/releases/latest/download/PotatoAlert.zip";
static std::string_view versionURL = "https://api.github.com/repos/razaqq/PotatoAlert/releases/latest";

// makes a request to the github api and checks if there is a new version available
Expand Down

0 comments on commit 18a1b13

Please sign in to comment.