mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-13 05:48:40 +00:00
Fixed sort order on backend-loading
This commit is contained in:
parent
e9ecb141db
commit
aa01b5687b
@ -40,7 +40,7 @@ internal static partial class Native
|
||||
{
|
||||
GetPlatformPathParts(out string os, out string fileExtension, out string libPrefix);
|
||||
|
||||
foreach (IBackend backend in Backends.ActiveBackends.OrderBy(x => x.Priority))
|
||||
foreach (IBackend backend in Backends.ActiveBackends.OrderByDescending(x => x.Priority))
|
||||
{
|
||||
string path = Path.Combine("runtimes", os, "native", backend.PathPart, $"{libPrefix}{LIB_NAME}{fileExtension}");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user