2024-07-18 15:07:17 +02:00
|
|
|
|
using Windows.Storage;
|
2024-04-18 01:44:37 +02:00
|
|
|
|
using Wino.Core.Domain.Interfaces;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Wino.Core.UWP.Services
|
|
|
|
|
|
{
|
|
|
|
|
|
public class AppInitializerService : IAppInitializerService
|
|
|
|
|
|
{
|
2024-07-18 15:07:17 +02:00
|
|
|
|
public const string SharedFolderName = "WinoShared";
|
2024-04-18 01:44:37 +02:00
|
|
|
|
|
2024-07-18 15:07:17 +02:00
|
|
|
|
public string GetPublisherSharedFolder() => ApplicationData.Current.GetPublisherCacheFolder(SharedFolderName).Path;
|
2024-06-24 00:36:21 +02:00
|
|
|
|
public string GetApplicationDataFolder() => ApplicationData.Current.LocalFolder.Path;
|
2024-04-18 01:44:37 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|