From c6120c9c01cffe9cbe1191d279d1dc24180cec64 Mon Sep 17 00:00:00 2001 From: "ZUNMX_WORKSPACE\\36083" Date: Thu, 7 Aug 2025 11:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=AE=A1=E7=90=86=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E7=BB=95=E8=BF=87=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 2 ++ .../java/top/zunmx/ModifyDialogWrapperPeerImpl.java | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index c9717f2..e0cfd48 100644 --- a/readme.md +++ b/readme.md @@ -163,6 +163,8 @@ datagrip ==> app.jar 这种方法不能绕过插件的激活 +IntelliJ IDEA 2025.2 (Ultimate Edition) 可以配合ja-netfilter使用,因为是不是提示 'Ultimate'功能需要许可证 + # 工程实例 diff --git a/src/main/java/top/zunmx/ModifyDialogWrapperPeerImpl.java b/src/main/java/top/zunmx/ModifyDialogWrapperPeerImpl.java index 6a1327f..144a694 100644 --- a/src/main/java/top/zunmx/ModifyDialogWrapperPeerImpl.java +++ b/src/main/java/top/zunmx/ModifyDialogWrapperPeerImpl.java @@ -114,11 +114,13 @@ public class ModifyDialogWrapperPeerImpl { throw new RuntimeException("PRODUCT HAS BEEN CRACKED!"); } setTitleMethod.insertBefore("{ System.out.println(\"即将打开窗口-->\"+$1);" + - "boolean isLicenseWindow = false;" + + "boolean isLSW = false;" + "try {\n"+ - " if($1.indexOf(\"许可证\")>-1) {isLicenseWindow=true; this.dispose();}\n" + - " if($1.indexOf(\"Licenses\")>-1) {isLicenseWindow=true; this.dispose();}\n" + - " if(isLicenseWindow) System.out.println(\"发现激活窗口,即将关闭\");\n" + + " if($1.indexOf(\"许可证\")>-1) {isLSW=true; this.dispose();}\n" + + " if($1.indexOf(\"Licenses\")>-1) {isLSW=true; this.dispose();}\n" + + " if($1.indexOf(\"管理订阅\")>-1) {isLSW=true; this.dispose();}\n" + + " if($1.indexOf(\"Manage Subscriptions\")>-1) {isLSW=true; this.dispose();}\n" + + " if(isLSW) System.out.println(\"发现激活窗口,即将关闭\");\n" + " Exception e = new Exception(\"↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓\");\n" + " System.out.println(\"调用栈信息-->\");\n" + " e.printStackTrace();\n" +