Flow.Launcher/Flow.Launcher.Infrastructure/Storage/PluginBinaryStorage.cs
2025-04-01 14:16:32 +08:00

15 lines
433 B
C#

using System.IO;
namespace Flow.Launcher.Infrastructure.Storage
{
public class PluginBinaryStorage<T> : BinaryStorage<T> where T : new()
{
public PluginBinaryStorage(string cacheName, string cacheDirectory)
{
DirectoryPath = cacheDirectory;
Helper.ValidateDirectory(DirectoryPath);
FilePath = Path.Combine(DirectoryPath, $"{cacheName}{FileSuffix}");
}
}
}