1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2025-02-17 01:51:24 +01:00

Call .getAbsoluteFile() when making the parent directory in PackageBuilder

This commit is contained in:
Albert Pham 2014-02-17 18:52:55 -08:00
parent be611ab869
commit 234d312423

View File

@ -94,7 +94,7 @@ public class PackageBuilder {
public void writeManifest(@NonNull File path) throws IOException {
manifest.setFeatures(applicator.getFeaturesInUse());
validateManifest();
path.getParentFile().mkdirs();
path.getAbsoluteFile().getParentFile().mkdirs();
writer.writeValue(path, manifest);
}