-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsample-plugin-config.json
More file actions
128 lines (128 loc) · 3.78 KB
/
Copy pathsample-plugin-config.json
File metadata and controls
128 lines (128 loc) · 3.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "SamplePlugin",
"version": "1.0.0",
"description": "示例插件 - 演示插件开发的各种功能特性",
"author": "示例开发者",
"email": "sample@developer.com",
"website": "https://github.com/sample/plugin",
"entry": "SamplePlugin.dll",
"mainClass": "SamplePlugin.MainPlugin",
"minimumHostVersion": "1.0.0",
"copyright": "Copyright © 2024 示例开发者. All rights reserved.",
"license": "MIT License",
"icon": "sample-icon.png",
"updateInfo": {
"updateUrl": "https://api.example.com/plugins/sample/updateInfo.json",
"checkIntervalHours": 24,
"autoCheck": true,
"supportedUpdateModes": ["full", "incremental"],
"backupBeforeUpdate": true,
"restartRequired": true,
"verifySignature": true,
"publicKeyPath": "public.key"
},
"changeLog": [
{
"version": "1.0.0",
"date": "2024-12-24",
"type": "major",
"changes": [
"初始版本发布",
"实现基础数据处理功能",
"添加用户界面",
"支持Excel数据导入导出",
"集成日志记录系统"
]
}
],
"dependencies": [
{
"name": "Microsoft.Office.Interop.Excel",
"version": "15.0.0.0",
"required": true
},
{
"name": "Newtonsoft.Json",
"version": "13.0.3",
"required": true
},
{
"name": "Office",
"version": "15.0.0.0",
"required": true
}
],
"permissions": [
"Excel.Read",
"Excel.Write",
"File.Read",
"File.Write",
"Network.Access"
],
"settings": [
{
"key": "enableLogging",
"type": "boolean",
"default": true,
"description": "是否启用详细日志记录"
},
{
"key": "autoSaveEnabled",
"type": "boolean",
"default": false,
"description": "是否启用自动保存功能"
},
{
"key": "updateCheckEnabled",
"type": "boolean",
"default": true,
"description": "是否启用自动更新检查"
},
{
"key": "maxRetryCount",
"type": "number",
"default": 3,
"description": "操作失败时的最大重试次数"
},
{
"key": "dataSourcePath",
"type": "string",
"default": "./data",
"description": "数据源文件夹路径"
},
{
"key": "supportedFileTypes",
"type": "array",
"default": [".xlsx", ".xls", ".csv"],
"description": "支持的文件类型列表"
}
],
"modules": [
{
"name": "DataProcessor",
"description": "数据处理模块",
"enabled": true,
"assembly": "SamplePlugin.dll",
"className": "SamplePlugin.Modules.DataProcessor"
},
{
"name": "UIManager",
"description": "用户界面管理模块",
"enabled": true,
"assembly": "SamplePlugin.dll",
"className": "SamplePlugin.Modules.UIManager"
}
],
"localization": {
"defaultLanguage": "zh-CN",
"supportedLanguages": ["zh-CN", "en-US"],
"resourcePath": "./Resources/Languages"
},
"category": "数据处理",
"tags": ["Excel", "数据处理", "自动化", "办公"],
"compatibility": {
"minDotNetVersion": "4.7.2",
"supportedOfficeVersions": ["2016", "2019", "365"],
"operatingSystems": ["Windows 10", "Windows 11"]
}
}