mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Remove default config files
This commit is contained in:
@@ -246,6 +246,12 @@ namespace ArchiSteamFarm {
|
||||
return Enum.IsDefined(typeof(EUpdateChannel), UpdateChannel) ? (true, null) : (false, string.Format(Strings.ErrorConfigPropertyInvalid, nameof(UpdateChannel), UpdateChannel));
|
||||
}
|
||||
|
||||
internal static GlobalConfig Create() =>
|
||||
new GlobalConfig {
|
||||
ShouldSerializeEverything = false,
|
||||
ShouldSerializeSensitiveDetails = false
|
||||
};
|
||||
|
||||
internal static async Task<GlobalConfig> Load(string filePath) {
|
||||
if (string.IsNullOrEmpty(filePath)) {
|
||||
ASF.ArchiLogger.LogNullError(nameof(filePath));
|
||||
|
||||
Reference in New Issue
Block a user