mirror of
https://github.com/revanced/Apktool.git
synced 2024-08-15 03:40:34 +02: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
|
// 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…
Reference in New Issue
Block a user