Skip to content

Commit 590f888

Browse files
committed
feature: reveal multiple items in dir
1 parent 6260cb3 commit 590f888

File tree

3 files changed

+56
-18
lines changed

3 files changed

+56
-18
lines changed

plugins/opener/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ tauri = { workspace = true }
3535
thiserror = { workspace = true }
3636
open = { version = "5", features = ["shellexecute-on-windows"] }
3737
glob = { workspace = true }
38-
39-
[target."cfg(windows)".dependencies]
4038
dunce = { workspace = true }
4139

4240
[target."cfg(windows)".dependencies.windows]

plugins/opener/permissions/autogenerated/reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ as well as reveal file in directories using default file explorer
1818
<th>Description</th>
1919
</tr>
2020

21+
2122
<tr>
2223
<td>
2324

plugins/opener/permissions/schemas/schema.json

Lines changed: 55 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,25 @@
3535
"DefaultPermission": {
3636
"description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.",
3737
"type": "object",
38-
"required": ["permissions"],
38+
"required": [
39+
"permissions"
40+
],
3941
"properties": {
4042
"version": {
4143
"description": "The version of the permission.",
42-
"type": ["integer", "null"],
44+
"type": [
45+
"integer",
46+
"null"
47+
],
4348
"format": "uint64",
4449
"minimum": 1.0
4550
},
4651
"description": {
4752
"description": "Human-readable description of what the permission does. Tauri convention is to use `<h4>` headings in markdown content for Tauri documentation generation purposes.",
48-
"type": ["string", "null"]
53+
"type": [
54+
"string",
55+
"null"
56+
]
4957
},
5058
"permissions": {
5159
"description": "All permissions this set contains.",
@@ -59,7 +67,11 @@
5967
"PermissionSet": {
6068
"description": "A set of direct permissions grouped together under a new name.",
6169
"type": "object",
62-
"required": ["description", "identifier", "permissions"],
70+
"required": [
71+
"description",
72+
"identifier",
73+
"permissions"
74+
],
6375
"properties": {
6476
"identifier": {
6577
"description": "A unique identifier for the permission.",
@@ -81,11 +93,16 @@
8193
"Permission": {
8294
"description": "Descriptions of explicit privileges of commands.\n\nIt can enable commands to be accessible in the frontend of the application.\n\nIf the scope is defined it can be used to fine grain control the access of individual or multiple commands.",
8395
"type": "object",
84-
"required": ["identifier"],
96+
"required": [
97+
"identifier"
98+
],
8599
"properties": {
86100
"version": {
87101
"description": "The version of the permission.",
88-
"type": ["integer", "null"],
102+
"type": [
103+
"integer",
104+
"null"
105+
],
89106
"format": "uint64",
90107
"minimum": 1.0
91108
},
@@ -95,7 +112,10 @@
95112
},
96113
"description": {
97114
"description": "Human-readable description of what the permission does. Tauri internal convention is to use `<h4>` headings in markdown content for Tauri documentation generation purposes.",
98-
"type": ["string", "null"]
115+
"type": [
116+
"string",
117+
"null"
118+
]
99119
},
100120
"commands": {
101121
"description": "Allowed or denied commands when using this permission.",
@@ -119,7 +139,10 @@
119139
},
120140
"platforms": {
121141
"description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
122-
"type": ["array", "null"],
142+
"type": [
143+
"array",
144+
"null"
145+
],
123146
"items": {
124147
"$ref": "#/definitions/Target"
125148
}
@@ -154,14 +177,20 @@
154177
"properties": {
155178
"allow": {
156179
"description": "Data that defines what is allowed by the scope.",
157-
"type": ["array", "null"],
180+
"type": [
181+
"array",
182+
"null"
183+
],
158184
"items": {
159185
"$ref": "#/definitions/Value"
160186
}
161187
},
162188
"deny": {
163189
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
164-
"type": ["array", "null"],
190+
"type": [
191+
"array",
192+
"null"
193+
],
165194
"items": {
166195
"$ref": "#/definitions/Value"
167196
}
@@ -228,27 +257,37 @@
228257
{
229258
"description": "MacOS.",
230259
"type": "string",
231-
"enum": ["macOS"]
260+
"enum": [
261+
"macOS"
262+
]
232263
},
233264
{
234265
"description": "Windows.",
235266
"type": "string",
236-
"enum": ["windows"]
267+
"enum": [
268+
"windows"
269+
]
237270
},
238271
{
239272
"description": "Linux.",
240273
"type": "string",
241-
"enum": ["linux"]
274+
"enum": [
275+
"linux"
276+
]
242277
},
243278
{
244279
"description": "Android.",
245280
"type": "string",
246-
"enum": ["android"]
281+
"enum": [
282+
"android"
283+
]
247284
},
248285
{
249286
"description": "iOS.",
250287
"type": "string",
251-
"enum": ["iOS"]
288+
"enum": [
289+
"iOS"
290+
]
252291
}
253292
]
254293
},
@@ -318,4 +357,4 @@
318357
]
319358
}
320359
}
321-
}
360+
}

0 commit comments

Comments
 (0)