feat: added ability to change and check SRS port in manager

This commit is contained in:
Davide Passoni
2025-03-07 16:14:42 +01:00
parent 42cfb36c04
commit be879e3660
6 changed files with 32 additions and 0 deletions

View File

@@ -150,6 +150,7 @@ class DCSInstance {
blueCommanderPasswordEdited = false;
redCommanderPasswordEdited = false;
autoconnectWhenLocal = false;
SRSPort = 5002;
constructor(folder) {
this.folder = folder;
@@ -186,6 +187,7 @@ class DCSInstance {
this.backendAddress = config["backend"]["address"];
this.gameMasterPasswordHash = config["authentication"]["gameMasterPassword"];
this.autoconnectWhenLocal = config["frontend"]["autoconnectWhenLocal"];
this.SRSPort = config["audio"]["SRSPort"];
this.gameMasterPasswordEdited = false;
this.blueCommanderPasswordEdited = false;