mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:37:23 +01:00
13 lines
456 B
C#
13 lines
456 B
C#
using MareSynchronos.MareConfiguration.Configurations;
|
|
|
|
namespace MareSynchronos.MareConfiguration;
|
|
|
|
public static class ConfigurationExtensions
|
|
{
|
|
public static bool HasValidSetup(this MareConfig configuration)
|
|
{
|
|
return configuration.AcceptedAgreement && configuration.InitialScanComplete
|
|
&& !string.IsNullOrEmpty(configuration.CacheFolder)
|
|
&& Directory.Exists(configuration.CacheFolder);
|
|
}
|
|
}
|