Skip to content

Commit 7eec0b8

Browse files
committed
update
1 parent 567dcec commit 7eec0b8

37 files changed

+705
-102
lines changed

Diff for: package-lock.json

+111
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src-tauri/Cargo.toml

+7-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tauri-build = { version = "2.0.0-beta.4", features = [] }
1212

1313
[dependencies]
1414
tauri = { version = "2.0.0-beta.6", features = [] }
15-
tauri-plugin-shell = "2.0.0-beta.1"
15+
tauri-plugin-shell = "2.0.0-beta.2"
1616
tokio = { version = "1.36.0", features = ["full"] }
1717
serde_json = "1.0"
1818
serde = { version = "1.0.195", features = ["derive"] }
@@ -21,9 +21,13 @@ imap = "2.4.1"
2121
native-tls = "0.2.11"
2222
gnome-online-accounts-rs = "0.0.1"
2323
mail-parser = "0.9.2"
24-
tracing = "0.1.40"
25-
tracing-subscriber = "0.3.18"
24+
tracing = "0.1.37"
25+
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
26+
tracing-appender = "0.2.3"
2627
thiserror = "1.0.57"
28+
keyring = "2"
29+
toml_edit = "0.22.7"
30+
lazy_static = "1.4.0"
2731

2832
[features]
2933
# this feature is used for production builds or when `devPath` points to the filesystem

Diff for: src-tauri/gen/schemas/acl-manifests.json

+1
Large diffs are not rendered by default.

Diff for: src-tauri/gen/schemas/capabilities.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"default":{"identifier":"default","description":"Capability for the main window","remote":null,"local":true,"windows":["main"],"permissions":["path:default","event:default","window:default","app:default","resources:default","menu:default","tray:default","shell:allow-open"],"platforms":["linux","macOS","windows","android","iOS"]}}
1+
{"default":{"identifier":"default","description":"Capability for the main window","local":true,"windows":["main"],"permissions":["path:default","event:default","window:default","app:default","resources:default","menu:default","tray:default","shell:allow-open"]}}

Diff for: src-tauri/gen/schemas/desktop-schema.json

+104-11
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
}
1212
]
1313
},
14+
{
15+
"description": "A list of capabilities.",
16+
"type": "array",
17+
"items": {
18+
"$ref": "#/definitions/Capability"
19+
}
20+
},
1421
{
1522
"description": "A list of capabilities.",
1623
"type": "object",
@@ -34,8 +41,7 @@
3441
"type": "object",
3542
"required": [
3643
"identifier",
37-
"permissions",
38-
"windows"
44+
"permissions"
3945
],
4046
"properties": {
4147
"identifier": {
@@ -85,15 +91,11 @@
8591
}
8692
},
8793
"platforms": {
88-
"description": "Target platforms this capability applies. By default all platforms applies.",
89-
"default": [
90-
"linux",
91-
"macOS",
92-
"windows",
93-
"android",
94-
"iOS"
94+
"description": "Target platforms this capability applies. By default all platforms are affected by this capability.",
95+
"type": [
96+
"array",
97+
"null"
9598
],
96-
"type": "array",
9799
"items": {
98100
"$ref": "#/definitions/Target"
99101
}
@@ -108,7 +110,7 @@
108110
],
109111
"properties": {
110112
"urls": {
111-
"description": "Remote domains this capability refers to. Can use glob patterns.",
113+
"description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).\n\n# Examples\n\n- \"https://*.mydomain.dev\": allows subdomains of mydomain.dev - \"https://mydomain.dev/api/*\": allows any subpath of mydomain.dev/api",
112114
"type": "array",
113115
"items": {
114116
"type": "string"
@@ -415,6 +417,97 @@
415417
"event:deny-unlisten"
416418
]
417419
},
420+
{
421+
"description": "image:default -> Default permissions for the plugin.",
422+
"type": "string",
423+
"enum": [
424+
"image:default"
425+
]
426+
},
427+
{
428+
"description": "image:allow-from-bytes -> Enables the from_bytes command without any pre-configured scope.",
429+
"type": "string",
430+
"enum": [
431+
"image:allow-from-bytes"
432+
]
433+
},
434+
{
435+
"description": "image:allow-from-path -> Enables the from_path command without any pre-configured scope.",
436+
"type": "string",
437+
"enum": [
438+
"image:allow-from-path"
439+
]
440+
},
441+
{
442+
"description": "image:allow-height -> Enables the height command without any pre-configured scope.",
443+
"type": "string",
444+
"enum": [
445+
"image:allow-height"
446+
]
447+
},
448+
{
449+
"description": "image:allow-new -> Enables the new command without any pre-configured scope.",
450+
"type": "string",
451+
"enum": [
452+
"image:allow-new"
453+
]
454+
},
455+
{
456+
"description": "image:allow-rgba -> Enables the rgba command without any pre-configured scope.",
457+
"type": "string",
458+
"enum": [
459+
"image:allow-rgba"
460+
]
461+
},
462+
{
463+
"description": "image:allow-width -> Enables the width command without any pre-configured scope.",
464+
"type": "string",
465+
"enum": [
466+
"image:allow-width"
467+
]
468+
},
469+
{
470+
"description": "image:deny-from-bytes -> Denies the from_bytes command without any pre-configured scope.",
471+
"type": "string",
472+
"enum": [
473+
"image:deny-from-bytes"
474+
]
475+
},
476+
{
477+
"description": "image:deny-from-path -> Denies the from_path command without any pre-configured scope.",
478+
"type": "string",
479+
"enum": [
480+
"image:deny-from-path"
481+
]
482+
},
483+
{
484+
"description": "image:deny-height -> Denies the height command without any pre-configured scope.",
485+
"type": "string",
486+
"enum": [
487+
"image:deny-height"
488+
]
489+
},
490+
{
491+
"description": "image:deny-new -> Denies the new command without any pre-configured scope.",
492+
"type": "string",
493+
"enum": [
494+
"image:deny-new"
495+
]
496+
},
497+
{
498+
"description": "image:deny-rgba -> Denies the rgba command without any pre-configured scope.",
499+
"type": "string",
500+
"enum": [
501+
"image:deny-rgba"
502+
]
503+
},
504+
{
505+
"description": "image:deny-width -> Denies the width command without any pre-configured scope.",
506+
"type": "string",
507+
"enum": [
508+
"image:deny-width"
509+
]
510+
},
418511
{
419512
"description": "menu:default -> Default permissions for the plugin.",
420513
"type": "string",

0 commit comments

Comments
 (0)