make zip unpacking and saving data to storage

This commit is contained in:
Вячеслав 2026-01-01 20:13:47 +05:00
parent c6a0b39ded
commit 297a784956
7 changed files with 78 additions and 12 deletions

View file

@ -10,8 +10,7 @@ public class StorageService : IStorageService
public StorageService()
{
var appData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
var appDirectory = Path.Combine(appData, "MetaforceInstaller");
var appDirectory = Defaults.StoragePath;
Directory.CreateDirectory(appDirectory);
_storagePath = Path.Combine(appDirectory, "installations.json");
}