From 2286b2a28205ef5adf13ff736792efe3f658a681 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 30 Jul 2024 11:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJySet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJySet.js | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/SrcJySet.js b/SrcJySet.js index 08ec247d..1e4954be 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -1718,12 +1718,12 @@ function resource() { }); */ d.push({ - title: (importtype=="3"?"👉":"")+"订阅地址设置", + title: (importtype=="3"?"👉":"")+"box配置文件订阅", col_type: 'scroll_button', url: $('#noLoading#').lazyRule(() => { putMyVar('importtype','3'); refreshPage(false); - return "toast://订阅只支持app类、cms、hipy_t4,且无法管理接口"; + return "toast://支持本地包或在线的配置文件订阅,但无法管理接口"; }) }); @@ -1765,43 +1765,6 @@ function resource() { col_type: "rich_text", extra:{textSize:12} }); - d.push({ - title:(getMyVar('dySourceType','1')=="1"?getide(1):getide(0))+'box配置文件', - col_type:'scroll_button', - url:$('#noLoading#').lazyRule(() => { - putMyVar('dySourceType','1'); - refreshPage(false); - return "hiker://empty"; - }) - }); - d.push({ - title:(getMyVar('dySourceType','1')=="2"?getide(1):getide(0))+'drpy/index.js', - col_type:'scroll_button', - url:$('#noLoading#').lazyRule(() => { - function readDir(path) { - let names = []; - let file = new java.io.File(path.replace("file://", "")); - - if (!(file.exists() && file.isDirectory())) return names; - for (let it of file.listFiles()) { - names.push(String(it.getName())); - } - return names; - } - //let files = new java.io.FIle('/storage/emulated/0/Android/data/com.example.hikerview/files/Documents/cache/drpy_dzlive_0725-1/drpy_dzlive/drpy_js').listFiles(); - log(readDir('/storage/emulated/0/Android/data/com.example.hikerview/files/Documents/cache/drpy_dzlive_0725-1/drpy_dzlive/drpy_js')); - - }) - }); - d.push({ - title:(getMyVar('dySourceType','1')=="3"?getide(1):getide(0))+'drpy_js', - col_type:'scroll_button', - url:$('#noLoading#').lazyRule(() => { - putMyVar('dySourceType','3'); - refreshPage(false); - return "hiker://empty"; - }) - }); } d.push({ title:'本地',