浏览代码

Fixing classpath argument for Unix-like systems (macOS, Linux).

Game should now launch on these two systems.
Daniel Scalzi 7 年之前
父节点
当前提交
2f899822b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/assets/js/processbuilder.js

+ 1 - 1
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