mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
15 lines
433 B
C#
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}");
|
|
}
|
|
}
|
|
}
|