Răsfoiți Sursa

Updated steamworks and fixed crash

flabbet 9 luni în urmă
părinte
comite
c98d80dac9

BIN
src/PixiEditor.Platform.Steam/OSX-Linux-x64/libsteam_api.so


+ 1 - 1
src/PixiEditor.Platform.Steam/OSX-Linux-x64/steam_api.bundle/Contents/Info.plist

@@ -17,7 +17,7 @@
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>1.57</string>
+	<string>1.60</string>
 	<key>CSResourcesFileMapped</key>
 	<string>yes</string>
 	<key>DTCompiler</key>

BIN
src/PixiEditor.Platform.Steam/OSX-Linux-x64/steam_api.bundle/Contents/MacOS/libsteam_api.dylib


+ 1 - 1
src/PixiEditor.Platform.Steam/PixiEditor.Platform.Steam.csproj

@@ -11,7 +11,7 @@
   </ItemGroup>
 
   <ItemGroup>
-    <PackageReference Include="Steamworks.NET" Version="20.2.0"/>
+    <PackageReference Include="Steamworks.NET" Version="2024.8.0" />
   </ItemGroup>
 
   <ItemGroup Condition="'$(RuntimeIdentifier)'=='win-x64'">

BIN
src/PixiEditor.Platform.Steam/Windows-x64/Steamworks.NET.dll


BIN
src/PixiEditor.Platform.Steam/Windows-x64/steam_api64.dll


+ 1 - 1
src/PixiEditor/Helpers/ServiceCollectionHelpers.cs

@@ -155,7 +155,7 @@ internal static class ServiceCollectionHelpers
     private static IServiceCollection AddAssemblyTypes<T>(this IServiceCollection collection)
     {
         Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
-        IEnumerable<Type> types = assemblies.SelectMany(x => x.GetTypes())
+        IEnumerable<Type> types = assemblies.Where(asm => !asm.FullName.Contains("Steamworks")).SelectMany(x => x.GetTypes())
             .Where(x => typeof(T).IsAssignableFrom(x) && x is { IsInterface: false, IsAbstract: false });
         foreach (Type type in types)
         {