Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class DecompilerDed create tmp id not exists #38

Closed
GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment
Closed

class DecompilerDed create tmp id not exists #38

GoogleCodeExporter opened this issue Mar 23, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

In decompiler.py check if /tmp/ dir exists; if not then create it:

class DecompilerDed  :
    def __init__(self, vm, path_dex2jar = "./decompiler/dex2jar/", bin_dex2jar = "dex2jar.sh", path_jad="./decompiler/jad/", bin_jad="jad") :
        self.classes = {}
        self.classes_failed = []

        pathtmp = os.getcwd() + "/tmp/"
        if not os.path.exists(pathtmp): <-- Adding check
            os.makedirs(pathtmp)        <-- Adding dir creation




Original issue reported on code.google.com by liadalex82@gmail.com on 19 Apr 2012 at 3:12

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 25 Apr 2012 at 7:36

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant