Made bundle generator add spaces between =

This commit is contained in:
Anuken 2018-10-23 22:45:36 -04:00
parent 8cd0618e85
commit 5993a596e8
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ allprojects {
appName = 'Mindustry'
gdxVersion = '1.9.8'
roboVMVersion = '2.3.0'
uCoreVersion = '97b03d5408d0cc836258f0af0f0a12dcb14a5ede'
uCoreVersion = '6080b6fb8c81f9c8e8dcb5809c2399061e15a63f'
getVersionString = {
String buildVersion = getBuildVersion()

View File

@ -60,7 +60,7 @@ public class BundleLauncher {
Log.info("Writing bundle to {0}", output);
StringBuilder result = new StringBuilder();
for(ObjectMap.Entry<String, String> e : other.entries()){
result.append(e.toString().replace("\\", "\\\\").replace("\n", "\\n"));
result.append((e.key + " = " + e.value).replace("\\", "\\\\").replace("\n", "\\n"));
result.append("\n");
}
Files.write(child, result.toString().getBytes("UTF-8"));