diff --git a/inc/theme-core.php b/inc/theme-core.php index dd2e9d9..b3c3487 100644 --- a/inc/theme-core.php +++ b/inc/theme-core.php @@ -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' ); diff --git a/inc/update-checker/version.json b/inc/update-checker/version.json new file mode 100644 index 0000000..88e1229 --- /dev/null +++ b/inc/update-checker/version.json @@ -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" +} \ No newline at end of file