Skip to content

Commit

Permalink
fix: update url
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukari316 committed Nov 14, 2022
1 parent 71caf3c commit 6005481
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ExplorerPatcher/settings.reg
Original file line number Diff line number Diff line change
Expand Up @@ -686,11 +686,11 @@
;t 更新服务器:
;w Releases
;输入可以调用GitHub releases API的URL. 要了解如何配置自己的更新服务器,请查阅 wiki.
;github.com/valinet/ExplorerPatcher/releases/latest
;github.com/Yukari316/ExplorerPatcher_zh-CN/releases/latest
"UpdateURL"=""
;w Pre-releases
;输入可以调用GitHub pre-releases API的URL. 要了解如何配置自己的更新服务器,请查阅 wiki.
;api.github.com/repos/valinet/ExplorerPatcher/releases?per_page=1
;api.github.com/repos/Yukari316/ExplorerPatcher_zh-CN/releases?per_page=1
"UpdateURLStaging"=""
;y 检查更新
;;;EP_CHECK_FOR_UPDATES
Expand Down
6 changes: 3 additions & 3 deletions ExplorerPatcher/updates.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ extern HMODULE hModule;
#define UPDATES_BUFSIZ 10240
#define UPDATES_DEFAULT_TIMEOUT 600

#define UPDATES_RELEASE_INFO_URL "https://github.com/valinet/ExplorerPatcher"
#define UPDATES_RELEASE_INFO_URL_STABLE "https://github.com/valinet/ExplorerPatcher/releases/latest"
#define UPDATES_RELEASE_INFO_URL_STAGING "https://api.github.com/repos/valinet/ExplorerPatcher/releases?per_page=1"
#define UPDATES_RELEASE_INFO_URL "https://github.com/Yukari316/ExplorerPatcher_zh-CN"
#define UPDATES_RELEASE_INFO_URL_STABLE "https://github.com/Yukari316/ExplorerPatcher_zh-CN/releases/latest"
#define UPDATES_RELEASE_INFO_URL_STAGING "https://github.com/Yukari316/ExplorerPatcher_zh-CN/releases?per_page=1"

typedef struct IsUpdateAvailableParameters
{
Expand Down

0 comments on commit 6005481

Please sign in to comment.