Added back logging

This commit is contained in:
Alessandro Autiero
2024-06-15 18:40:46 +02:00
parent e3a42d6b81
commit 47adb572ea
2 changed files with 3 additions and 7 deletions

View File

@@ -202,7 +202,7 @@ Future<bool> watchProcess(int pid) async {
return await completer.future;
}
List<String> createRebootArgs(String username, String password, bool host, GameServerType hostType, bool log, String additionalArgs) {
List<String> createRebootArgs(String username, String password, bool host, GameServerType hostType, String additionalArgs) {
if(password.isEmpty) {
username = '${_parseUsername(username, host)}@projectreboot.dev';
}
@@ -223,14 +223,11 @@ List<String> createRebootArgs(String username, String password, bool host, GameS
"-AUTH_TYPE=epic"
];
if(log) {
args.add("-log");
}
if(host) {
args.addAll([
"-nosplash",
"-nosound"
"-nosound",
"-log"
]);
if(hostType == GameServerType.headless){
args.add("-nullrhi");