Skip to content

Commit 1437ade

Browse files
committed
Fix error when android keystore path had spaces.
1 parent 0ddc3e0 commit 1437ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adventure-editor/src/main/java/com/bladecoder/engineeditor/ui/PackageDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ private String packageAdv() throws IOException {
362362
}
363363
} else if (arch.getText().equals("android")) {
364364
String params = versionParam + customBuildParams + "-PversionCode=" + versionCode.getText() + " "
365-
+ "-Pkeystore=" + androidKeyStore.getText() + " " + "-PstorePassword="
365+
+ "-Pkeystore=\"" + androidKeyStore.getText() + "\" " + "-PstorePassword="
366366
+ androidKeyStorePassword.getText() + " " + "-Palias=" + androidKeyAlias.getText() + " "
367367
+ "-PkeyPassword=" + androidKeyAliasPassword.getText() + " ";
368368

0 commit comments

Comments
 (0)