This commit is contained in:
Cikaros 2024-09-10 09:41:52 +08:00
parent f4a7d653c5
commit bf8d15ffab
3 changed files with 18 additions and 17 deletions

View File

@ -53,20 +53,21 @@
### 功能列表
| 功能 | DID |
|:-------------------------|:---:|
| Jetbrains全产品支持 | ✅ |
| Jetbrains全插件支持 | ✅ |
| 插件库全自动订阅官网更新 | ✅ |
| 公私钥/证书, 自动生成管理 | ✅ |
| power.conf文件自动配置 | ✅ |
| ja-netfilter.zip自动打包 | ✅ |
| 自定义License Show | ✅ |
| 支持实时搜索 | ✅ |
| 插件默认按名称排序 | ✅ |
| 支持local/jar/dockerfile运行 | ✅ |
| 单码全家桶激活支持 | ✅ |
| …… | ☑️ |
| 功能 | DID |
|:---------------------------|:---:|
| Jetbrains全产品支持 | ✅ |
| Jetbrains全插件支持 | ✅ |
| 插件库全自动订阅官网更新 | ✅ |
| 公私钥/证书, 自动生成管理 | ✅ |
| power.conf文件自动配置 | ✅ |
| ja-netfilter.zip自动打包 | ✅ |
| 自定义License Show | ✅ |
| 支持实时搜索 | ✅ |
| 插件默认按名称排序 | ✅ |
| 支持local/jar/dockerfile运行 | ✅ |
| 单码全家桶激活支持 | ✅ |
| Jetbrains License Server支持 | ✅ |
| …… | ☑️ |
## 运行教程
@ -139,7 +140,7 @@
- **点击** `编辑自定义虚拟机选型`
- **键入** 如下配置
```
-javaagent:you-path/ja-netfilter.jar
-javaagent:you-path/ja-netfilter.jar=jetbrains
--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
```
@ -157,7 +158,7 @@
- **点击** `编辑JVM选项`
- **键入** 如下配置
```
-javaagent:you-path/ja-netfilter.jar
-javaagent:you-path/ja-netfilter.jar=jetbrains
--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
```

View File

@ -26,7 +26,7 @@ public class AgentContextHolder {
private static final String JA_NETFILTER_FILE_PATH = "external/agent/ja-netfilter";
private static final String POWER_CONF_FILE_NAME = JA_NETFILTER_FILE_PATH + "/config/power.conf";
private static final String POWER_CONF_FILE_NAME = JA_NETFILTER_FILE_PATH + "/config-jetbrains/power.conf";
private static File jaNetfilterFile;