From 59843a5f7e943fee2baac37842b0ac9ab50bcf2e Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 30 Jun 2024 14:42:45 +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 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/SrcJuying.js b/SrcJuying.js index 0a8c5842..47faa66d 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -624,7 +624,7 @@ function dianboyiji() { }) d.push({ title: "管理设置", - url: $(["接口管理","解析管理","资源管理"],1).select(()=>{ + url: $(["接口管理","解析管理","资源管理","运行模式"],1).select(()=>{ if(input=="接口管理"){ putMyVar('guanli','jk'); return $("hiker://empty#noRecordHistory##noHistory#").rule(() => { @@ -645,6 +645,16 @@ function dianboyiji() { require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJySet.js'); resource(); }) + }else if(input=="站源获取"){ + let modes = ["本地接口", "订阅文件"]; + return $(modes,2).select(()=>{ + if(input=="本地接口"){ + clearItem("sourceMode"); + }else if(input=="订阅文件"){ + setItem("sourceMode","1"); + } + return "toast://站源获取设置为"+input; + }) } }), pic_url: "https://hikerfans.com/tubiao/more/44.png",