Suggest PyPy
This commit is contained in:
parent
2d289d1f9b
commit
9f1877a81c
2 changed files with 3 additions and 3 deletions
|
@ -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." +
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue