mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-13 22:37:48 +01:00
Hacky fix FileNotFoundException if file name ends with space (issue #1145)
This commit is contained in:
parent
114af9799d
commit
ce66e17ee0
@ -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