ChangeMenuToPluginJdaListener.java

package edu.jiangxin.apktoolbox.reverse;

import edu.jiangxin.apktoolbox.swing.extend.listener.ChangeMenuToPluginListener;
import edu.jiangxin.apktoolbox.utils.Utils;

import java.io.File;

public class ChangeMenuToPluginJdaListener extends ChangeMenuToPluginListener {
    @Override
    public String getPluginFilename() {
        return "GDA4.11.zip";
    }

    @Override
    public boolean isPluginNeedUnzip() {
        return true;
    }

    @Override
    public String getPluginStartupCmd() {
        String dirPath = getPluginFilename().replace(".zip", "");
        return Utils.getPluginDirPath() + File.separator + dirPath + File.separator + "GDA4.11.exe";
    }
}