mirror of
				https://github.com/NotoChen/Jetbrains-Help.git
				synced 2025-11-01 01:38:31 +08:00 
			
		
		
		
	Update index.js
This commit is contained in:
		
							parent
							
								
									9e6e03d409
								
							
						
					
					
						commit
						a1108140eb
					
				|  | @ -34,11 +34,14 @@ $(document).ready(function() { | ||||||
|     // Function to show VM options
 |     // Function to show VM options
 | ||||||
|     window.showVmoptins = function () { |     window.showVmoptins = function () { | ||||||
|         var text = "-javaagent:/(Your Path)/ja-netfilter/ja-netfilter.jar\n" + |         var text = "-javaagent:/(Your Path)/ja-netfilter/ja-netfilter.jar\n" + | ||||||
|         "--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED\n" + |             "--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED\n" + | ||||||
|         "--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED"; |             "--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED"; | ||||||
|         copyText(text) |         navigator.clipboard.writeText(text) | ||||||
|             .then((result) => { |             .then(() => { | ||||||
|                 alert(result); |                 alert('vm.vmoptions 配置已复制到剪切板,请粘贴到IDEA的VM中,修改(Your Path)为你自己的目录:\n'); | ||||||
|  |             }) | ||||||
|  |             .catch((err) => { | ||||||
|  |                 alert("复制失败: " + err); | ||||||
|             }); |             }); | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 LiXiaoJun
						LiXiaoJun