feat: make it easier to find the correct assembly.
This commit is contained in:
parent
6d62f6eeb0
commit
18136e0fa6
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ namespace Jellyfin.Plugin.SmartPlaylist.Lisp {
|
||||||
private static Type? GetType(string name) {
|
private static Type? GetType(string name) {
|
||||||
return Type.GetType(
|
return Type.GetType(
|
||||||
name,
|
name,
|
||||||
(name) => { return AppDomain.CurrentDomain.GetAssemblies().Where(z => z.FullName == name.FullName).FirstOrDefault(); },
|
(name) => { return AppDomain.CurrentDomain.GetAssemblies().Where(z => (z.FullName != null) && z.FullName.StartsWith(name.FullName)).FirstOrDefault(); },
|
||||||
null,
|
null,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue