Browse Source

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

Game should now launch on these two systems.
Daniel Scalzi 7 năm trước cách đây
mục cha
commit
2f899822b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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