|
|
@ -8,6 +8,8 @@ let tvfile = rulepath + "live.txt"; |
|
|
|
let cfgfile = rulepath + "config.json"; |
|
|
|
let cfgfile = rulepath + "config.json"; |
|
|
|
let sortfile = rulepath + "jksort.json"; |
|
|
|
let sortfile = rulepath + "jksort.json"; |
|
|
|
let codepath = config.依赖?config.依赖.match(/http(s)?:\/\/.*\//)[0]:module.modulePath.slice(0, module.modulePath.lastIndexOf("/")+1); |
|
|
|
let codepath = config.依赖?config.依赖.match(/http(s)?:\/\/.*\//)[0]:module.modulePath.slice(0, module.modulePath.lastIndexOf("/")+1); |
|
|
|
|
|
|
|
let gzip = $.require(codepath + "plugins/gzip.js"); |
|
|
|
|
|
|
|
|
|
|
|
if(fileExist(datapath + "jiexi.json")){ |
|
|
|
if(fileExist(datapath + "jiexi.json")){ |
|
|
|
if(!fileExist(jxfile)){ |
|
|
|
if(!fileExist(jxfile)){ |
|
|
|
writeFile(jxfile, fetch(datapath + "jiexi.json")); |
|
|
|
writeFile(jxfile, fetch(datapath + "jiexi.json")); |
|
|
|