From 6a4217506357043dfe94b235f4afa879e27cac00 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 29 Sep 2024 11:04:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyDrpy.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyDrpy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SrcJyDrpy.js b/SrcJyDrpy.js index f26d8a5a..be587215 100644 --- a/SrcJyDrpy.js +++ b/SrcJyDrpy.js @@ -1,4 +1,5 @@ const codePath = module.modulePath.slice(0, module.modulePath.lastIndexOf("/") + 1); +log(codePath); const JSEngine = com.example.hikerview.service.parser.JSEngine; const drpyMap = new Map(); const GMkey = module.importParam; @@ -198,7 +199,7 @@ function createDrpy(sdata) { Function.prototype.toString = function () { return $toString.apply(this).trim(); }; - + $.require.cache.delete($.require.resolve(codePath +'drpy/drpy2.js')); let drpy2 = $.require(codePath +'drpy/drpy2.js'); GM.has(GMkey, (DrpyManage) => { DrpyManage.put(sdata.key, drpy2);