diff --git a/box/chavy.boxjs.js b/box/chavy.boxjs.js index cd1fea426..9c5d1999c 100644 --- a/box/chavy.boxjs.js +++ b/box/chavy.boxjs.js @@ -3,7 +3,7 @@ const $ = new Env('BoxJs') // 为 eval 准备的上下文环境 const $eval_env = {} -$.version = '0.7.68' +$.version = '0.7.69' $.versionType = 'beta' // 发出的请求需要需要 Surge、QuanX 的 rewrite @@ -44,7 +44,7 @@ $.html = $.name // `页面`类请求的响应体 // 页面源码地址 $.web = `https://cdn.jsdelivr.net/gh/chavyleung/scripts@${$.version}/box/chavy.boxjs.html?_=${new Date().getTime()}` // 版本说明地址 (Release Note) -$.ver = 'https://gitee.com/chavyleung/scripts/raw/master/box/release/box.release.tf.json' +$.ver = `https://cdn.jsdelivr.net/gh/chavyleung/scripts@${$.version}/box/release/box.release.tf.json` !(async () => { // 勿扰模式 diff --git a/box/release/box.release.json b/box/release/box.release.json index 9cb886551..dfc6997dc 100644 --- a/box/release/box.release.json +++ b/box/release/box.release.json @@ -1,5 +1,21 @@ { "releases": [ + { + "version": "0.7.69", + "tags": ["beta"], + "author": "@chavyleung", + "msg": "更新[BoxJs]: 移除 gitee 链接, 改用 github raw 及 jsdelivr", + "notes": [ + { + "name": "说明", + "descs": ["由于通过 gitee 访问部分仓库资源时出现 `根据相关法律政策,该内容无法显示`", "虽然我手动同步 github 代码后已经可以正常访问", "但为避免以后出现不可预知的情况:", "我们把全部 gitee 链接替换为 github raw 及 jsdelivr", "----", "大家只需正常更新订阅并重启代理即可"] + }, + { + "name": "感谢", + "descs": ["@zZPiglet PR"] + } + ] + }, { "version": "0.7.68", "tags": ["beta"], diff --git a/box/release/box.release.tf.json b/box/release/box.release.tf.json index bfaaddc59..33f173e0c 100644 --- a/box/release/box.release.tf.json +++ b/box/release/box.release.tf.json @@ -1,5 +1,21 @@ { "releases": [ + { + "version": "0.7.69", + "tags": ["beta"], + "author": "@chavyleung", + "msg": "更新[BoxJs]: 移除 gitee 链接, 改用 github raw 及 jsdelivr", + "notes": [ + { + "name": "说明", + "descs": ["由于通过 gitee 访问部分仓库资源时出现 `根据相关法律政策,该内容无法显示`", "虽然我手动同步 github 代码后已经可以正常访问", "但为避免以后出现不可预知的情况:", "我们把全部 gitee 链接替换为 github raw 及 jsdelivr", "----", "大家只需正常更新订阅并重启代理即可"] + }, + { + "name": "感谢", + "descs": ["@zZPiglet PR"] + } + ] + }, { "version": "0.7.68", "tags": ["beta"], diff --git a/chavy.box.js b/chavy.box.js index cd1fea426..9c5d1999c 100644 --- a/chavy.box.js +++ b/chavy.box.js @@ -3,7 +3,7 @@ const $ = new Env('BoxJs') // 为 eval 准备的上下文环境 const $eval_env = {} -$.version = '0.7.68' +$.version = '0.7.69' $.versionType = 'beta' // 发出的请求需要需要 Surge、QuanX 的 rewrite @@ -44,7 +44,7 @@ $.html = $.name // `页面`类请求的响应体 // 页面源码地址 $.web = `https://cdn.jsdelivr.net/gh/chavyleung/scripts@${$.version}/box/chavy.boxjs.html?_=${new Date().getTime()}` // 版本说明地址 (Release Note) -$.ver = 'https://gitee.com/chavyleung/scripts/raw/master/box/release/box.release.tf.json' +$.ver = `https://cdn.jsdelivr.net/gh/chavyleung/scripts@${$.version}/box/release/box.release.tf.json` !(async () => { // 勿扰模式