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

decompiler.py missing tmp creation #35

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

decompiler.py missing tmp creation #35

GoogleCodeExporter opened this issue Mar 20, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

class DecompilerDex2Jad :
    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 17 Apr 2012 at 2:49

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 18 Apr 2012 at 12:59

  • 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