feat: add china source mirror

pull/287/head
Seaton Jiang 2020-08-04 10:11:34 +08:00
parent c63d78d7ba
commit b17c9ae35b
2 changed files with 6 additions and 1 deletions

View File

@ -179,7 +179,7 @@ add_filter('get_avatar', 'get_https_avatar');
// 主题更新检测
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
'https://github.com/vtrois/kratos/',
'https://raw.githubusercontent.com/vtrois/kratos/master/inc/update-checker/update.json',
get_template_directory() . '/functions.php',
'Kratos'
);

View File

@ -0,0 +1,5 @@
{
"version": "3.1.2",
"details_url": "https://github.com/vtrois/kratos/releases/tag/v3.1.2",
"download_url": "https://mirrors.vtrois.com/kratos/v3.1.2.zip"
}