update to 2.2

This commit is contained in:
2025-08-27 18:44:12 +08:00
parent 7806149558
commit e0c71e325c
30 changed files with 26905 additions and 492 deletions

View File

@@ -7,7 +7,7 @@ function checkThemeUpdate()
$api_url = 'https://versioncheck.imakashi.eu.org/?themeRomanticism';
$response = @file_get_contents($api_url);
if ($response === FALSE) {
return json_encode(["error" => "暂时无法连接到更新服务器"]);
return json_encode(["error" => "无法连接到更新服务器"]);
}
$data = json_decode($response, true);
@@ -17,7 +17,7 @@ function checkThemeUpdate()
// 返回更新数据
return json_encode([
"current_version" => '2.1',
"current_version" => '2.2',
"latest_version" => $data['version'],
"update_url" => $data['url'],
"feature" => $data['feature']