Skip to content

Commit 417b7b2

Browse files
authored
Fix linux startup (SoundFlow) (#157)
1 parent 001abf1 commit 417b7b2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MonkeyLoaderWrapper/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ private static async Task Main(string[] args)
117117

118118
// TODO: Should not be necessary anymore with the hookfxr changes. Either way, should be done by the load context
119119
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
120+
{
121+
if (assembly.GetName().Name == "SoundFlow") continue;
120122
NativeLibrary.SetDllImportResolver(assembly, ResolveNativeLibrary);
123+
}
121124

122125
var mainResult = resoniteAssembly.EntryPoint!.Invoke(null, [args]);
123126

0 commit comments

Comments
 (0)