Dragonfly full support #199

Merged
Sirherobrine23 merged 4 commits from Dragonfly_Sirherobrine23 into main 2021-09-28 02:32:17 +00:00
Showing only changes of commit 2351279639 - Show all commits

View File

@ -82,10 +82,10 @@ function start() {
else if (CurrentBdsPlatform === "dragonfly") {
SetupCommands.cwd = GetServerPaths("dragonfly");
if (process.platform === "win32") {
SetupCommands.command = "dragonfly.exe";
SetupCommands.command = "Dragonfly.exe";
} else {
child_process.execFileSync("chmod", ["a+x", "dragonfly"], {cwd: SetupCommands.cwd});
SetupCommands.command = "./dragonfly";
SetupCommands.command = "./Dragonfly";
child_process.execFileSync("chmod", ["a+x", SetupCommands.command], {cwd: SetupCommands.cwd});
}
}