From 9d3809d657aed4416b8d2a3f332379257a2fbf67 Mon Sep 17 00:00:00 2001 From: Spectrollay <2819288472@qq.com> Date: Fri, 30 Aug 2024 12:07:37 +0800 Subject: [PATCH] 2024083001 --- Feed/update.xml | 8 +++++ .../file-hashes.json | 12 +++---- Verification/project-hash.json | 3 ++ advanced/settings.html | 7 ++-- experiments/flags.html | 10 ++++++ flags/index.html | 18 ++++++++++ javascript/public_define.js | 30 ++++++++++++---- updatelog/index.html | 35 +++++++++++++++++++ 8 files changed, 109 insertions(+), 14 deletions(-) rename file-hashes.json => Verification/file-hashes.json (96%) create mode 100644 Verification/project-hash.json diff --git a/Feed/update.xml b/Feed/update.xml index 6167cf3..be9e6b8 100644 --- a/Feed/update.xml +++ b/Feed/update.xml @@ -6,6 +6,14 @@ https://spectrollay.github.io/minecraft_repository_test/updatelog/ 星月Minecraft版本库是一个开放共享的资源站,专注于收录Minecraft发布过的所有版本. zh-cn + + 版本库已更新 4.6.5.50.Canary + https://spectrollay.github.io/minecraft_repository_test/ + 更新内容详见: + 开发日志 + + Thu, 29 Aug 2024 18:00:00 GMT + 版本库已更新 4.6.5.21.Canary https://spectrollay.github.io/minecraft_repository_test/ diff --git a/file-hashes.json b/Verification/file-hashes.json similarity index 96% rename from file-hashes.json rename to Verification/file-hashes.json index 01e7b3e..b45103d 100644 --- a/file-hashes.json +++ b/Verification/file-hashes.json @@ -1,7 +1,7 @@ { "404.html": "b724c56bbefba662700eadea51a4b5b9", "advanced\\debug.html": "f3f599c403fbe59bb6cf99fc2ac1dd21", - "advanced\\settings.html": "5c11dc4fbea4ce847ff5921915749700", + "advanced\\settings.html": "74024a6deb37c32f09e15ee77621b996", "advanced\\status.html": "ac6adf46440b16e99c3151b8c8c9ba94", "default\\coming_soon.html": "541c00b3ff6cdea5f7bf7129b131c5dd", "default\\error_default.html": "13ebe0116389f9e10d0ec6dc2a8af39a", @@ -10,12 +10,12 @@ "donate.html": "26df29641e07c5a582eca1068971fb48", "experiments\\exp.css": "f227348871eca5403b0aca19d0edd65e", "experiments\\exp.js": "91ebfaa6d90350f16bfabb60ab0df26c", - "experiments\\flags.html": "8c6776dce69188380bd7c7eabcc686c6", + "experiments\\flags.html": "fe30ad879a59198ce60634f7385abcd6", "Feed\\database.xml": "33971db1a7e40a8a3e4b9d9aef9d24aa", "Feed\\main.xml": "f5be196f7e0f95f94eee17f5c73efcd5", "Feed\\messages.xml": "1c24a98ff83bdc56d026043d412bd778", - "Feed\\update.xml": "ae443b24acde6069b34fa3d852706739", - "flags\\index.html": "667382de6345ef88c5f41aa2c05fe697", + "Feed\\update.xml": "19ddc1049f06c89cc2c6b1eb65838c3d", + "flags\\index.html": "d645714594ec9c14b02ddfe5cacf271d", "fonts\\Minecraft-Five-Bold.otf": "17ba4c2007cf79329c4b84e8dbc6fd34", "fonts\\Minecraft-Five.otf": "070d5f6822481c45102b7c8e71619fe1", "fonts\\Minecraft-Seven.otf": "29cc62e5424a2e7fd7a546e491837e17", @@ -134,7 +134,7 @@ "javascript\\advanced.js": "0d38129123a736a59d09970b876f11ec", "javascript\\custom_elements.js": "f9c1f72cad6afebd7983f4ffc93ae185", "javascript\\editions.js": "795a056b1011d662f3cbd38c41962bee", - "javascript\\public_define.js": "d61ac8b6bb0b2029a2b88b5148c10353", + "javascript\\public_define.js": "2c411443fb954f9aa5418a41f1ec69fb", "javascript\\public_script.js": "954a52994db77927dac0db9116e5f90f", "notifications\\index.html": "4b3c07077998d0edcd3932df8a3d1e20", "README-en_US.md": "8c9ce26d032adfdc4e620dc53d683e74", @@ -151,5 +151,5 @@ "stylesheet\\loading_mask.css": "2701a0ba77a2b46b52280505bb0194af", "stylesheet\\public_style.css": "a221d9cf3686e0757b093661e857312f", "Template\\index.html": "d90907446df4ac3d061035c95d0d22b7", - "updatelog\\index.html": "6fbc049b7a9be5b49da3ed9d16bda578" + "updatelog\\index.html": "814895e28fa1b5767fd244ffad80567e" } \ No newline at end of file diff --git a/Verification/project-hash.json b/Verification/project-hash.json new file mode 100644 index 0000000..5a72042 --- /dev/null +++ b/Verification/project-hash.json @@ -0,0 +1,3 @@ +{ + "projectHash": "ac2a52d58350483ccddb0c2f95378f4e" +} \ No newline at end of file diff --git a/advanced/settings.html b/advanced/settings.html index 555c154..274c486 100644 --- a/advanced/settings.html +++ b/advanced/settings.html @@ -234,7 +234,7 @@ - 版本信息 + 详情 @@ -244,7 +244,10 @@ - + + + + diff --git a/experiments/flags.html b/experiments/flags.html index 0f336b7..f7fdf35 100644 --- a/experiments/flags.html +++ b/experiments/flags.html @@ -112,6 +112,16 @@
响应式设计
+ +
+
无障碍体验优化
+ +
+ +
+
服务响应优化
+ +

diff --git a/flags/index.html b/flags/index.html index 456783a..b7ba457 100644 --- a/flags/index.html +++ b/flags/index.html @@ -124,6 +124,24 @@
使用更加灵活的页面布局以适应不同的设备
+
+
+
+
无障碍体验优化
+ +
+
适配无障碍设计,优化在各种环境下的使用体验
+
+
+
+
+
+
服务响应优化
+ +
+
通过优化网站缓存与加载机制提升响应速度
+
+
diff --git a/javascript/public_define.js b/javascript/public_define.js index a02f87d..047e384 100644 --- a/javascript/public_define.js +++ b/javascript/public_define.js @@ -25,20 +25,38 @@ const main_version_name = "4"; const primary_version_name = main_version_name + ".6"; // 例 4.0 const secondary_version_name = primary_version_name + ".5"; // 例 4.0.0 -const version_name_short = secondary_version_name + ".50"; // 例 4.0.0.1 // NOTE 小版本 +const version_name_short = secondary_version_name + ".50"; // 例 4.0.0.1 NOTE 小版本 const version_type = "Canary"; // Preview/Insider_(Preview/Alpha/Beta)/Canary/Alpha/Beta/Pre/RC/Stable/Release/SP -const version_type_count = version_type + ""; // 例 Build1 // NOTE 小版本,可为空 +const version_type_count = version_type + ""; // 例 Build1 NOTE 小版本,可为空 const version_name = version_name_short + "." + version_type; // 例 4.0.0.1.Build const version_nickname = secondary_version_name + "-" + version_type_count; // 例 4.0.0-Build1 -const update_count = "20240829" + ".01"; // NOTE 小版本,有提交就变 +const update_count = "20240830" + ".01"; // NOTE 小版本,有提交就变 const publish_version_name = primary_version_name + "." + update_count; // 例 4.20240101.01 -console.log("发布版本: " + publish_version_name); const server_version = "4.0"; -let commit = "#"; // 例 #2024010101 , 仅留 # 则从 update_count 提取 // NOTE 有不更改版本的提交就变 +let commit = "#"; // 例 #2024010101 , 仅留 # 则从 update_count 提取 NOTE 有不更改版本的提交就变 if (commit === "#") { commit = "#" + update_count.replace(/\./g, ""); } -const version_info = "
主要更新: " + primary_version_name + "
次要更新: " + secondary_version_name + "
版本编号: " + version_name_short + "
版本类型: " + version_type + "
版本名称: " + version_name + "
版本别称: " + version_nickname + "
发布编号: " + update_count + "
最后提交: " + commit + "
"; + +function getProjectHash() { + const xhr = new XMLHttpRequest(); + xhr.open('GET', '../Verification/project-hash.json', false); // 第三个参数为 false 表示同步请求 + xhr.send(null); + + if (xhr.status === 200) { + const response = JSON.parse(xhr.responseText); + return response.projectHash; + } else { + console.error('获取项目哈希值时出错: ', xhr.status); + return null; + } +} + +const projectHash = getProjectHash(); +const version_info = "" + + "
版本信息
主要更新: " + primary_version_name + "
次要更新: " + secondary_version_name + "
版本编号: " + version_name_short + "
版本类型: " + version_type + "
版本名称: " + version_name + "
版本别称: " + version_nickname + "
发布编号: " + update_count + "
最后提交: " + commit + "
校验码
" + projectHash + "
"; + +console.log("发布版本: " + publish_version_name); //字符常量 const texts = { diff --git a/updatelog/index.html b/updatelog/index.html index 879c434..a34865f 100644 --- a/updatelog/index.html +++ b/updatelog/index.html @@ -223,6 +223,39 @@
+
+ + 4.6.20240830.01 + (V) 4.6.5.50 + + + 我们推送了一个新的版本, 以下为更新详情, 请查阅. + + + 实验性 + 加入了无障碍体验优化开关 + 包含了自4.5.1.16以来对无障碍的所有更改 + 加入了服务响应优化开关 + 目前没有任何内容,也无法通过常规手段访问 + + + 新内容 + 加入了项目校验码 + 位于设置->关于->版本 + + + 更改 + 更新了文件哈希值系统 + 优化了判定和输出 + + + 修复 + 修复了一些问题 + + + +
+
4.6.20240829.01 @@ -1836,6 +1869,8 @@ 对代码进行了重新排列与格式化 +
+
4.5.2-Beta1 (4.5.2.1)