mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-02 06:54:25 +02:00
Merge pull request #1147 from BurgerZ/patch-4
Hacky fix FileNotFoundException if file name ends with space
This commit is contained in:
commit
8525be6fab
@ -151,7 +151,7 @@ public class Main {
|
|||||||
// make out folder manually using name of apk
|
// make out folder manually using name of apk
|
||||||
String outName = apkName;
|
String outName = apkName;
|
||||||
outName = outName.endsWith(".apk") ? outName.substring(0,
|
outName = outName.endsWith(".apk") ? outName.substring(0,
|
||||||
outName.length() - 4) : outName + ".out";
|
outName.length() - 4).trim() : outName + ".out";
|
||||||
|
|
||||||
// make file from path
|
// make file from path
|
||||||
outName = new File(outName).getName();
|
outName = new File(outName).getName();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user