Add in more implementation
This commit is contained in:
parent
fc0c1c7e7a
commit
1b2ec0e74d
14 changed files with 62 additions and 35 deletions
|
@ -35,7 +35,6 @@ void main() async {
|
|||
|
||||
print("Initializing SteamCMD");
|
||||
await settings.initializeSteamCmd();
|
||||
await settings.initializeSteamCmd2FA();
|
||||
print("Initialized Steamcmd and Proton");
|
||||
|
||||
print("Checking for game server updates...");
|
||||
|
@ -50,13 +49,20 @@ void main() async {
|
|||
print(
|
||||
"Aborting server startup procedure, initial server setup is not yet complete\n\n[ You must log in with the ServerManager to continue ]");
|
||||
} else {
|
||||
print("Downloading mods...");
|
||||
await doDownloadMods(false);
|
||||
try {
|
||||
print("Downloading mods...");
|
||||
await doDownloadMods(false);
|
||||
|
||||
print("Scanning mods...");
|
||||
settings.inst!.mods = await doScanMods();
|
||||
print("Scanning mods...");
|
||||
settings.inst!.mods = await doScanMods();
|
||||
settings.Write();
|
||||
|
||||
await settings.subsys.startScheduler();
|
||||
print("Starting scheduler...");
|
||||
await settings.subsys.startScheduler();
|
||||
} catch (E) {
|
||||
settings.FTS = true;
|
||||
settings.Write();
|
||||
}
|
||||
}
|
||||
|
||||
print("Starting up server manager server wrapper");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue