From 70590e04e80d36776ae3786fa9c436efa8506dff Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 21 Oct 2024 09:19:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SrcJuying.js b/SrcJuying.js index 0a1accf5..1d8f16c8 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -758,7 +758,7 @@ function dianboyiji(testSource) { }) d.push({ title: "管理设置", - url: testSource?"toast://测试模式下不能更换主页源":$(["接口管理","解析管理","资源管理","站源切换"],1).select(()=>{ + url: testSource?"toast://测试模式下不能更换主页源":$(["接口管理","解析管理","资源管理","站源切换","资源码订阅"],1).select(()=>{ if(input=="接口管理"){ if(getItem("sourceMode")=="2"){ return "toast://订阅文件模式,无法管理本地接口"; @@ -795,6 +795,11 @@ function dianboyiji(testSource) { sm = "订阅文件模式"; } return "toast://站源获取设置为:"+sm; + }else if(input=="资源码订阅"){ + return $('hiker://empty#noRecordHistory##noHistory#').rule(() => { + require(config.依赖.replace(/[^/]*$/,'') + 'SrcJyPublic.js'); + subResource(); + }) } }), pic_url: getIcon("点播-设置.svg"),