File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Flow.Launcher.Core/Plugin
Plugins/Flow.Launcher.Plugin.BrowserBookmark Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,22 @@ protected override Assembly Load(AssemblyName assemblyName)
34
34
35
35
return existAssembly ?? ( assemblyPath == null ? null : LoadFromAssemblyPath ( assemblyPath ) ) ;
36
36
}
37
+
38
+ protected override IntPtr LoadUnmanagedDll ( string unmanagedDllName )
39
+ {
40
+ var path = dependencyResolver . ResolveUnmanagedDllToPath ( unmanagedDllName ) ;
41
+ if ( ! string . IsNullOrEmpty ( path ) )
42
+ {
43
+ return LoadUnmanagedDllFromPath ( path ) ;
44
+ }
45
+
46
+ return IntPtr . Zero ;
47
+ }
37
48
38
49
internal Type FromAssemblyGetTypeOfInterface ( Assembly assembly , Type type )
39
50
{
40
51
var allTypes = assembly . ExportedTypes ;
41
52
return allTypes . First ( o => o . IsClass && ! o . IsAbstract && o . GetInterfaces ( ) . Any ( t => t == type ) ) ;
42
53
}
43
54
}
44
- }
55
+ }
Original file line number Diff line number Diff line change 12
12
<AppendTargetFrameworkToOutputPath >false</AppendTargetFrameworkToOutputPath >
13
13
<AppendRuntimeIdentifierToOutputPath >false</AppendRuntimeIdentifierToOutputPath >
14
14
<UseWindowsForms >true</UseWindowsForms >
15
- <RuntimeIdentifier >win-x64</RuntimeIdentifier >
16
15
</PropertyGroup >
17
16
18
17
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
You can’t perform that action at this time.
0 commit comments