添加三个实用功能

This commit is contained in:
fofolee
2022-04-15 17:45:58 +08:00
parent 8794a02f39
commit 4e879e6dc2
5 changed files with 221 additions and 11 deletions

View File

@@ -0,0 +1,48 @@
const quickFeatures = {
favFile: {
code: "feature_favFile",
explain: "快速将选中的文件收藏到快捷命令当中",
cmds: [{
label: "收藏文件",
type: "files",
match: "/.*+/i",
}, ],
icon: "img/feature/file.png",
platform: ["win32", "darwin", "linux"],
},
favUrl: {
code: "feature_favUrl",
explain: "快速将选中的网址收藏到快捷命令当中",
cmds: [{
label: "收藏网址",
type: "window",
match: {
app: [
"chrome.exe",
"firefox.exe",
"MicrosoftEdge.exe",
"iexplore.exe",
"msedge.exe",
"Google Chrome.app",
"Safari.app",
"Microsoft Edge.app",
"chrome",
"firefox",
],
},
}, ],
icon: "img/feature/url.png",
platform: ["win32", "darwin", "linux"],
},
pluNickName: {
code: "feature_pluNickName",
explain: "为插件设置别名",
cmds: ["插件别名"],
icon: "img/feature/plugin.png",
platform: ["win32", "darwin", "linux"],
}
}
export default quickFeatures