diff --git a/AM2RLauncher/AM2RLauncher/XML/LauncherConfigXML.cs b/AM2RLauncher/AM2RLauncher/XML/LauncherConfigXML.cs index 3e6309c..ed61e0c 100644 --- a/AM2RLauncher/AM2RLauncher/XML/LauncherConfigXML.cs +++ b/AM2RLauncher/AM2RLauncher/XML/LauncherConfigXML.cs @@ -49,7 +49,7 @@ namespace AM2RLauncher.XML { get; set; } /// Indicates whether or not to create debug logs of profile. Used for [XmlAttribute("ProfileDebugLog")] - public string ProfileDebugLog + public bool ProfileDebugLog { get; set; } /// Indicates the custom environment variable(s) as text. Used for [XmlAttribute("CustomEnvVar")] @@ -107,7 +107,7 @@ namespace AM2RLauncher.XML MirrorIndex = 0; CustomMirrorEnabled = false; CustomMirrorText = ""; - ProfileDebugLog = "true"; + ProfileDebugLog = true; CustomEnvVar = ""; Width = 600; Height = 600; @@ -126,12 +126,13 @@ namespace AM2RLauncher.XML /// Parameter that saves the index of the selected mirror in . /// Parameter that saves custom Environment variables that will be used on Linux for launching a game. /// Parameter that indicates if is enabled or not. + /// Parameter that indicates if is enabled or not. /// Parameter that's used for . /// Parameter that indicates the width of . /// Parameter that indicates the height of . /// Parameter that indicates if has been set to fullscreen or not. public LauncherConfigXML(bool autoUpdateAM2R, bool autoUpdateLauncher, string language, bool musicHQPC, bool musicHQAndroid, - string profileIndex, int mirrorIndex, string customEnvVar, bool customMirrorEnabled, + string profileIndex, int mirrorIndex, bool profileDebugLog, string customEnvVar, bool customMirrorEnabled, string customMirrorText, int width, int height, bool isMaximized) { AutoUpdateAM2R = autoUpdateAM2R; @@ -143,6 +144,7 @@ namespace AM2RLauncher.XML MirrorIndex = mirrorIndex; CustomMirrorEnabled = customMirrorEnabled; CustomMirrorText = customMirrorText; + ProfileDebugLog = profileDebugLog; CustomEnvVar = customEnvVar; Width = width; Height = height;