This commit is contained in:
clueless 2020-01-26 11:14:38 +02:00
parent 9488864f47
commit fec7912870
2 changed files with 0 additions and 38 deletions

View File

@ -1,37 +0,0 @@
using System;
using System.IO;
using System.Runtime.InteropServices;
using Wox.Infrastructure;
namespace Wox.Plugin.Everything
{
public interface IEverythingDllLoader
{
void Load(PluginInitContext context);
}
public class EverythingDllLoader : IEverythingDllLoader
{
public void Load(PluginInitContext context)
{
//var pluginDirectory = context.CurrentPluginMetadata.PluginDirectory;
//const string sdk = "EverythingSDK";
//var bundledSDKDirectory = Path.Combine(pluginDirectory, sdk, CpuType());
//var sdkDirectory = Path.Combine(_storage.DirectoryPath, sdk, CpuType());
//Helper.ValidateDataDirectory(bundledSDKDirectory, sdkDirectory);
//var sdkPath = Path.Combine(sdkDirectory, DLL);
//Constant.EverythingSDKPath = sdkPath;
//LoadLibrary(sdkPath);
}
private static string CpuType()
{
return Environment.Is64BitOperatingSystem ? "x64" : "x86";
}
}
}

View File

@ -72,7 +72,6 @@
<Compile Include="Everything\Exceptions\RegisterClassExException.cs" />
<Compile Include="Everything\ResultType.cs" />
<Compile Include="Everything\SearchResult.cs" />
<Compile Include="IEverythingDllLoader.cs" />
<Compile Include="Settings.cs" />
<Compile Include="Main.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />