mirror of
https://github.com/revanced/smali.git
synced 2025-05-01 15:14:32 +02:00
Fix the default classpath dir for an input file in the current directory
This commit is contained in:
parent
af8a063472
commit
6f8366a7a3
@ -167,7 +167,7 @@ public class DisassembleCommand extends DexInputCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (analysisArguments.classPathDirectories == null || analysisArguments.classPathDirectories.isEmpty()) {
|
if (analysisArguments.classPathDirectories == null || analysisArguments.classPathDirectories.isEmpty()) {
|
||||||
analysisArguments.classPathDirectories = Lists.newArrayList(new File(input).getParent());
|
analysisArguments.classPathDirectories = Lists.newArrayList(inputFile.getAbsoluteFile().getParent());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Baksmali.disassembleDexFile(dexFile, outputDirectoryFile, jobs, getOptions())) {
|
if (!Baksmali.disassembleDexFile(dexFile, outputDirectoryFile, jobs, getOptions())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user