mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-19 10:59:28 +01: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
|
||||
String outName = apkName;
|
||||
outName = outName.endsWith(".apk") ? outName.substring(0,
|
||||
outName.length() - 4) : outName + ".out";
|
||||
outName.length() - 4).trim() : outName + ".out";
|
||||
|
||||
// make file from path
|
||||
outName = new File(outName).getName();
|
||||
|
Loading…
Reference in New Issue
Block a user