mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] ServerWrapperSetup .bat create
This commit is contained in:
parent
3aedd4a2b8
commit
559f4f4de7
1 changed files with 2 additions and 1 deletions
|
@ -99,8 +99,9 @@ public void run() throws Exception {
|
||||||
if (JVMHelper.OS_TYPE == JVMHelper.OS.LINUX) {
|
if (JVMHelper.OS_TYPE == JVMHelper.OS.LINUX) {
|
||||||
writer.append("#!/bin/bash\n\n");
|
writer.append("#!/bin/bash\n\n");
|
||||||
}
|
}
|
||||||
|
writer.append("\"");
|
||||||
writer.append(IOHelper.resolveJavaBin(Paths.get(System.getProperty("java.home"))).toAbsolutePath().toString());
|
writer.append(IOHelper.resolveJavaBin(Paths.get(System.getProperty("java.home"))).toAbsolutePath().toString());
|
||||||
writer.append(" ");
|
writer.append("\" ");
|
||||||
if (mainClassName.contains("bungee")) {
|
if (mainClassName.contains("bungee")) {
|
||||||
LogHelper.info("Found BungeeCord mainclass. Modules dir change to modules_srv");
|
LogHelper.info("Found BungeeCord mainclass. Modules dir change to modules_srv");
|
||||||
writer.append(JVMHelper.jvmProperty("serverwrapper.modulesDir", "modules_srv"));
|
writer.append(JVMHelper.jvmProperty("serverwrapper.modulesDir", "modules_srv"));
|
||||||
|
|
Loading…
Reference in a new issue