From f52018c3336cb506f817b693ebef409f8a5c38fd Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 12 Jun 2024 10:52:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyPublic.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SrcJyPublic.js b/SrcJyPublic.js index 54810325..8e2b51a1 100644 --- a/SrcJyPublic.js +++ b/SrcJyPublic.js @@ -7,16 +7,18 @@ if(Jucfg != ""){ Juconfig["依赖"] = config.依赖; writeFile(cfgfile, JSON.stringify(Juconfig)); } +Juconfig["路径"] = "hiker://files/rules/Src/Juying2/"; + let homeSource = Juconfig['homeSource'] || {}; let sourceType = homeSource.type; let sourceName = homeSource.name; let sourceGroup = homeSource.group || homeSource.type; let sourceUrl = homeSource.url; -let jkfile = "hiker://files/rules/Src/Juying2/jiekou.json"; -let jxfile = "hiker://files/rules/Src/Juying2/jiexi.json"; +let jkfile = Juconfig["路径"] + "jiekou.json"; +let jxfile = Juconfig["路径"] + "jiexi.json"; let drpymuban = "https://raw.gitmirror.com/hjdhnx/hipy-server/master/app/t4/files/drpy_libs/%E6%A8%A1%E6%9D%BF.js"; -let timeout = 8000; +let timeout = 6000; function getFile(lx) { let file = lx=='jk'?jkfile:jxfile;