Suggest PyPy

This commit is contained in:
Konloch 2021-07-13 04:05:44 -07:00
parent 2d289d1f9b
commit 9f1877a81c
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ public class KrakatauDecompiler extends InternalDecompiler
public String decompileClassNode(File krakatauTempJar, File krakatauTempDir, ClassNode cn) public String decompileClassNode(File krakatauTempJar, File krakatauTempDir, ClassNode cn)
{ {
if(!ExternalResources.getSingleton().hasSetPython2Command()) if(!ExternalResources.getSingleton().hasSetPython2Command())
return "You need to set your Python 2.7 path!"; return "You need to set your Python 2.7 (or PyPy 2.7 for speed) executable path!";
ExternalResources.getSingleton().rtCheck(); ExternalResources.getSingleton().rtCheck();
if (Configuration.rt.isEmpty()) { if (Configuration.rt.isEmpty()) {
@ -155,7 +155,7 @@ public class KrakatauDecompiler extends InternalDecompiler
@Override @Override
public String decompileClassNode(ClassNode cn, byte[] b) { public String decompileClassNode(ClassNode cn, byte[] b) {
if(!ExternalResources.getSingleton().hasSetPython2Command()) if(!ExternalResources.getSingleton().hasSetPython2Command())
return "You need to set your Python 2.7 path!"; return "You need to set your Python 2.7 (or PyPy 2.7 for speed) executable path!";
if (Configuration.rt.isEmpty()) { if (Configuration.rt.isEmpty()) {
BytecodeViewer.showMessage("You need to set your JRE RT Library." + BytecodeViewer.showMessage("You need to set your JRE RT Library." +

View file

@ -50,7 +50,7 @@ public class KrakatauDisassembler extends InternalDecompiler
@Override @Override
public String decompileClassNode(ClassNode cn, byte[] b) { public String decompileClassNode(ClassNode cn, byte[] b) {
if(!ExternalResources.getSingleton().hasSetPython2Command()) if(!ExternalResources.getSingleton().hasSetPython2Command())
return "You need to set your Python 2.7 path!"; return "You need to set your Python 2.7 (or PyPy 2.7 for speed) executable path!";
String s = ExceptionUI.SEND_STACKTRACE_TO_NL; String s = ExceptionUI.SEND_STACKTRACE_TO_NL;