소스 검색

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