From fed3dfd0ee526e0496182139b589fc55540b894a Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 20 Jun 2024 17:42:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuying.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuying.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index 2d6fa556..a21da26b 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -786,6 +786,7 @@ function yiji() { } Version(); downloadicon();//下载图标 + putMyVar('SrcJuying-VersionCheck', '1'); } let d = []; @@ -1184,7 +1185,7 @@ function Version() { var nowVersion = getItem('Version', "7.9");//现在版本 var nowtime = Date.now(); var oldtime = parseInt(getItem('VersionChecktime','0').replace('time','')); - if (getMyVar('SrcJuying-VersionCheck', '0') == '0' && nowtime > (oldtime+12*60*60*1000)) { + if (nowtime > (oldtime+12*60*60*1000)) { try { eval(request(config.依赖.match(/http(s)?:\/\/.*\//)[0].replace('/Ju/','/master/') + 'SrcTmplVersion.js')) if (parseFloat(newVersion.SrcJuying) > parseFloat(nowVersion)) { @@ -1230,7 +1231,6 @@ function Version() { } putMyVar('SrcJuying-Version', '-V'+newVersion.SrcJuying); } catch (e) { } - putMyVar('SrcJuying-VersionCheck', '1'); }else{ putMyVar('SrcJuying-Version', '-V'+nowVersion); }