We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82fa39b commit c31946cCopy full SHA for c31946c
src/decompiler/JadxDecompiler.ts
@@ -7,7 +7,7 @@ import { promises as fs } from "fs"
7
export class JadxDecompiler implements SmaliDecompiler {
8
constructor(public jadxPath: String, public sourceOutputDir: string, public smaliClassName: string) { }
9
async decompile(inputFilePath: string, outputChannel: OutputChannel, options?: string): Promise<string> {
10
- const outputFilePath = join(this.sourceOutputDir, this.smaliClassName + ".java")
+ const outputFilePath = join(this.sourceOutputDir, (this.smaliClassName.includes("/") ? "" : "defpackage/") + this.smaliClassName + ".java")
11
try {
12
await fs.stat(outputFilePath)
13
await fs.unlink(outputFilePath)
0 commit comments