更新 'SrcJu.js'

Ju
src48597962 2 years ago
parent ce12d25b37
commit d22a3e5ef2
  1. 5
      SrcJu.js

@ -1291,11 +1291,6 @@ function Version() {
try {
eval(request(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/', '/master/') + 'SrcTmplVersion.js'))
if (parseFloat(newVersion.SrcJu) > parseFloat(nowVersion)) {
if(parseFloat(newVersion.SrcJu)==2.3){
let requirelist = [{ url: 'https://ghproxy.net/https://raw.githubusercontent.com/', sort: 0 }, { url: 'https://ghproxy.com/https://raw.githubusercontent.com/', sort: 0 }, { url: 'https://cdn.staticaly.com/gh/', sort: 0 }, { url: 'https://github.jevons.vip/https://raw.githubusercontent.com/', sort: 0 }]
let requirefile = "hiker://files/rules/Src/require.json";
writeFile(requirefile, JSON.stringify(requirelist));
}
confirm({
title: '发现新版本,是否更新?',
content: nowVersion + '=>' + newVersion.SrcJu + '\n' + newVersion.SrcJudesc[newVersion.SrcJu],

Loading…
Cancel
Save