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" +