move default framework location on windows/unix

- unix - $HOME/.local/share/apktool
 - windows - $HOME/AppData/Local/apktool
 - #1277
This commit is contained in:
Connor Tumbleson 2016-06-21 08:02:23 -04:00
parent 3c41d44d8c
commit ed7b094b02
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75

View File

@ -703,8 +703,10 @@ final public class AndrolibResources {
if (OSDetection.isMacOSX()) {
path = parentPath.getAbsolutePath() + String.format("%1$sLibrary%1$sapktool%1$sframework", File.separatorChar);
} else if (OSDetection.isWindows()) {
path = parentPath.getAbsolutePath() + String.format("%1$sAppData%1$sLocal%1$sapktool%1$sframework", File.separatorChar);
} else {
path = parentPath.getAbsolutePath() + String.format("%1$sapktool%1$sframework", File.separatorChar);
path = parentPath.getAbsolutePath() + String.format("%1$s.local%1$sshare%1$sapktool%1$sframework", File.separatorChar);
}
}