mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 03:02:22 +01:00
Reversed logging
This commit is contained in:
@@ -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, String additionalArgs) {
|
||||
List<String> createRebootArgs(String username, String password, bool host, GameServerType hostType, bool log, String additionalArgs) {
|
||||
if(password.isEmpty) {
|
||||
username = '${_parseUsername(username, host)}@projectreboot.dev';
|
||||
}
|
||||
@@ -223,11 +223,14 @@ List<String> createRebootArgs(String username, String password, bool host, GameS
|
||||
"-AUTH_TYPE=epic"
|
||||
];
|
||||
|
||||
if(log) {
|
||||
args.add("-log");
|
||||
}
|
||||
|
||||
if(host) {
|
||||
args.addAll([
|
||||
"-nosplash",
|
||||
"-nosound",
|
||||
"-log"
|
||||
"-nosound"
|
||||
]);
|
||||
if(hostType == GameServerType.headless){
|
||||
args.add("-nullrhi");
|
||||
|
||||
Reference in New Issue
Block a user