mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-18 18:04:28 +08:00
添加三个实用功能
This commit is contained in:
48
src/js/options/quickFeatures.js
Normal file
48
src/js/options/quickFeatures.js
Normal 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
|
||||
Reference in New Issue
Block a user