Sfoglia il codice sorgente

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

Game should now launch on these two systems.
Daniel Scalzi 7 anni fa
parent
commit
2f899822b5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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