From 2f899822b5a60d58628e6fce9145c9feaeaf28b2 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Sun, 15 Apr 2018 00:21:26 -0400 Subject: [PATCH] Fixing classpath argument for Unix-like systems (macOS, Linux). Game should now launch on these two systems. --- app/assets/js/processbuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/js/processbuilder.js b/app/assets/js/processbuilder.js index f1f1e70..8332c29 100644 --- a/app/assets/js/processbuilder.js +++ b/app/assets/js/processbuilder.js @@ -113,7 +113,7 @@ class ProcessBuilder { '-Xms' + ConfigManager.getMinRAM(),, '-Djava.library.path=' + tempNativePath, '-cp', - this.classpathArg(mods, tempNativePath).join(';'), + this.classpathArg(mods, tempNativePath).join(process.platform === 'win32' ? ';' : ':'), this.forgeData.mainClass] // For some reason this will add an undefined value unless