mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
Runtime.exec has problems dealing with spaces in arguments given. Lame resolution is to change the ~/Library/Application Support/apktool path to ~/Library/apktool. Fix is for OS X only. Do not think there is problems on other platforms with this.
This commit is contained in:
parent
8754fd196b
commit
f9aaf2cc7e
@ -546,7 +546,7 @@ final public class AndrolibResources {
|
|||||||
/* store in user-home, for Mac OS X */
|
/* store in user-home, for Mac OS X */
|
||||||
if (System.getProperty("os.name").equals("Mac OS X")) {
|
if (System.getProperty("os.name").equals("Mac OS X")) {
|
||||||
path = System.getProperty("user.home") + File.separatorChar +
|
path = System.getProperty("user.home") + File.separatorChar +
|
||||||
"Library/Application Support/apktool/framework"; }
|
"Library/apktool/framework"; }
|
||||||
else {
|
else {
|
||||||
path = System.getProperty("user.home") + File.separatorChar +
|
path = System.getProperty("user.home") + File.separatorChar +
|
||||||
"apktool" + File.separatorChar + "framework";
|
"apktool" + File.separatorChar + "framework";
|
||||||
@ -580,4 +580,4 @@ final public class AndrolibResources {
|
|||||||
private String mMaxSdkVersion = null;
|
private String mMaxSdkVersion = null;
|
||||||
private String mTargetSdkVersion = null;
|
private String mTargetSdkVersion = null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user