mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-29 07:27:36 +08:00
64位程序支持
This commit is contained in:
@@ -19,7 +19,8 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||
if (DI.Platform == Platform.Windows)
|
||||
{
|
||||
services.AddSingleton<IDesktopPlatformService, WindowsDesktopPlatformServiceImpl>();
|
||||
if (hasSteam && RuntimeInformation.ProcessArchitecture == Architecture.X86)
|
||||
//if (hasSteam && RuntimeInformation.ProcessArchitecture == Architecture.X86)
|
||||
if (hasSteam)
|
||||
{
|
||||
services.AddSingleton<ISteamworksLocalApiService, SteamworksLocalApiServiceImpl>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user