mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Change plugin config file format (from ini to json)
This commit is contained in:
@@ -53,7 +53,7 @@ namespace Wox.Plugin.Doc
|
||||
|
||||
public void Init(PluginInitContext context)
|
||||
{
|
||||
docsetBasePath = context.PluginMetadata.PluginDirecotry + @"Docset";
|
||||
docsetBasePath = context.CurrentPluginMetadata.PluginDirecotry + @"Docset";
|
||||
if (!Directory.Exists(docsetBasePath))
|
||||
Directory.CreateDirectory(docsetBasePath);
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<None Include="plugin.ini">
|
||||
<None Include="plugin.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="README.md" />
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
[plugin]
|
||||
ActionKeyword = doc
|
||||
Name = Dash.Doc
|
||||
Author = qianlifeng
|
||||
Version = 0.1
|
||||
Language = csharp
|
||||
Description = Offline doc, inspired by dash
|
||||
ExecuteFile = Wox.Plugin.Doc.dll
|
||||
11
Plugins/Wox.Plugin.Doc/plugin.json
Normal file
11
Plugins/Wox.Plugin.Doc/plugin.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ID":"D2D2C23B084D411DB66FE0C79D6C2A6B",
|
||||
"ActionKeyword":"doc",
|
||||
"Name":"Dash.Doc",
|
||||
"Description":"Offline doc, inspired by dash",
|
||||
"Author":"qianlifeng",
|
||||
"Version":"1.0",
|
||||
"Language":"csharp",
|
||||
"Website":"http://www.getwox.com",
|
||||
"ExecuteFileName":"Wox.Plugin.Doc.dll"
|
||||
}
|
||||
Reference in New Issue
Block a user