mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Change plugin config file format (from ini to json)
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Wox.Plugin.Everything
|
||||
this.context = context;
|
||||
|
||||
LoadLibrary(Path.Combine(
|
||||
Path.Combine(context.PluginMetadata.PluginDirecotry, (IntPtr.Size == 4) ? "x86" : "x64"),
|
||||
Path.Combine(context.CurrentPluginMetadata.PluginDirecotry, (IntPtr.Size == 4) ? "x86" : "x64"),
|
||||
"Everything.dll"
|
||||
));
|
||||
//init everything
|
||||
|
||||
@@ -70,15 +70,15 @@
|
||||
<Name>Wox.Plugin</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="plugin.ini">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="x64\Everything.dll" />
|
||||
<Content Include="x86\Everything.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="plugin.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>xcopy /Y /E $(TargetDir)*.* $(SolutionDir)Wox\bin\Debug\Plugins\$(ProjectName)\
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
[plugin]
|
||||
ActionKeyword = ev
|
||||
Name = everything
|
||||
Author = qianlifeng
|
||||
Version = 0.1
|
||||
Language = csharp
|
||||
Description = test
|
||||
ExecuteFile = Wox.Plugin.Everything.dll
|
||||
11
Plugins/Wox.Plugin.Everything/plugin.json
Normal file
11
Plugins/Wox.Plugin.Everything/plugin.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ID":"D2D2C23B084D411DB66FE0C79D6C2A6E",
|
||||
"ActionKeyword":"ev",
|
||||
"Name":"Wox.Plugin.Everything",
|
||||
"Description":"Search Everything",
|
||||
"Author":"orzfly",
|
||||
"Version":"1.0",
|
||||
"Language":"csharp",
|
||||
"Website":"http://www.getwox.com",
|
||||
"ExecuteFileName":"Wox.Plugin.Everything.dll"
|
||||
}
|
||||
Reference in New Issue
Block a user