mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-07 00:38:26 +07:00
Made bundle generator add spaces between =
This commit is contained in:
@ -27,7 +27,7 @@ allprojects {
|
|||||||
appName = 'Mindustry'
|
appName = 'Mindustry'
|
||||||
gdxVersion = '1.9.8'
|
gdxVersion = '1.9.8'
|
||||||
roboVMVersion = '2.3.0'
|
roboVMVersion = '2.3.0'
|
||||||
uCoreVersion = '97b03d5408d0cc836258f0af0f0a12dcb14a5ede'
|
uCoreVersion = '6080b6fb8c81f9c8e8dcb5809c2399061e15a63f'
|
||||||
|
|
||||||
getVersionString = {
|
getVersionString = {
|
||||||
String buildVersion = getBuildVersion()
|
String buildVersion = getBuildVersion()
|
||||||
|
@ -60,7 +60,7 @@ public class BundleLauncher {
|
|||||||
Log.info("Writing bundle to {0}", output);
|
Log.info("Writing bundle to {0}", output);
|
||||||
StringBuilder result = new StringBuilder();
|
StringBuilder result = new StringBuilder();
|
||||||
for(ObjectMap.Entry<String, String> e : other.entries()){
|
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");
|
result.append("\n");
|
||||||
}
|
}
|
||||||
Files.write(child, result.toString().getBytes("UTF-8"));
|
Files.write(child, result.toString().getBytes("UTF-8"));
|
||||||
|
Reference in New Issue
Block a user