mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-18 18:04:28 +08:00
支持匹配文件夹
This commit is contained in:
@@ -159,8 +159,9 @@ const commandTypes = {
|
||||
matchToCmds: (rules, desc) => [{
|
||||
type: "files",
|
||||
label: desc,
|
||||
match: rules,
|
||||
"minLength": 1,
|
||||
match: rules.match,
|
||||
fileType: rules.fileType,
|
||||
minLength: 1,
|
||||
}, ],
|
||||
verify: rules => !!rules > 0 || "正则不能为空",
|
||||
tempPayload: () => window.convertFilePathToUtoolsPayload(utools.showOpenDialog({
|
||||
|
||||
Reference in New Issue
Block a user