make zip unpacking and saving data to storage
This commit is contained in:
parent
c6a0b39ded
commit
297a784956
7 changed files with 78 additions and 12 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue