chore: modify the upgrade server

pull/230/head
Seaton Jiang 2020-04-05 12:59:50 +08:00
parent 9b45f39421
commit 4a9bc368c5
2 changed files with 6 additions and 1 deletions

View File

@ -167,7 +167,7 @@ add_filter('get_avatar', 'get_https_avatar');
// 主题更新检测
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
'https://github.com/Vtrois/Kratos/',
'https://n3.cdn.vtrois.com/kratos/version.json',
get_template_directory() . '/functions.php',
'Kratos'
);

View File

@ -0,0 +1,5 @@
{
"version": "3.0.7",
"details_url": "https://github.com/Vtrois/Kratos/releases/tag/v3.0.7",
"download_url": "https://github.com/Vtrois/Kratos/archive/v3.0.7.zip"
}