This commit is contained in:
Aigio Liu
2021-03-08 13:43:50 +08:00
parent 5faf0eefa3
commit 687f2d2433
12 changed files with 237 additions and 135 deletions
@@ -19,10 +19,10 @@ namespace Microsoft.Extensions.DependencyInjection
{
services.AddSingleton<IDesktopPlatformService, WindowsDesktopPlatformServiceImpl>();
services.AddSingleton<ISteamworksLocalApiService, SteamworksLocalApiServiceImpl>();
if (Environment.OSVersion.Version.Major >= 10)
{
services.AddSingleton<IStorage, Windows10DesktopClientStorage>();
}
//if (Environment.OSVersion.Version.Major >= 10)
//{
// services.AddSingleton<IStorage, Windows10DesktopClientStorage>();
//}
}
else
{