更新 'SrcJyPublic.js'

master
src48597962 8 months ago
parent f03ccfa687
commit e2ec070810
  1. 8
      SrcJyPublic.js

@ -1,8 +1,8 @@
let datapath = "hiker://files/data/聚影✓/"; //数据文件路径 let datapath = "hiker://files/data2/"+MY_RULE.title+"/"; //数据文件路径
let cachepath = "hiker://files/cache/聚影✓/"; //缓存文件路径 let rulepath = "hiker://files/rules/Src/Juying2/"; //缓存文件路径
let jkfile = datapath + "jiekou.json"; let jkfile = datapath + "jiekou.json";
let jxfile = datapath + "jiexi.json"; let jxfile = datapath + "jiexi.json";
let cfgfile = datapath + "config.json"; let cfgfile = rulepath + "config.json";
let Juconfig= {}; let Juconfig= {};
let Jucfg=fetch(cfgfile); let Jucfg=fetch(cfgfile);
@ -20,7 +20,7 @@ let sourceName = homeSource.name;
let sourceGroup = homeSource.group || homeSource.type; let sourceGroup = homeSource.group || homeSource.type;
let sourceUrl = homeSource.url; let sourceUrl = homeSource.url;
globalMap0.putMyVar('gmParams',{datapath:datapath,cachepath:cachepath,jkfile:jkfile,jxfile:jxfile,cfgfile:cfgfile}); globalMap0.putMyVar('gmParams',{datapath:datapath,rulepath:rulepath,jkfile:jkfile,jxfile:jxfile,cfgfile:cfgfile});
function getFile(lx) { function getFile(lx) {
let file = lx=='jk'?jkfile:jxfile; let file = lx=='jk'?jkfile:jxfile;

Loading…
Cancel
Save