Skip to content

Commit

Permalink
use image from tauri
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Mar 8, 2024
1 parent 64a77ac commit f92e4a9
Show file tree
Hide file tree
Showing 43 changed files with 351 additions and 284 deletions.
36 changes: 19 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ resolver = "2"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
log = "0.4"
tauri = "2.0.0-beta.9"
tauri-build = "2.0.0-beta.7"
tauri-plugin = "2.0.0-beta.7"
tauri = "2.0.0-beta.10"
tauri-build = "2.0.0-beta.8"
tauri-plugin = "2.0.0-beta.8"
serde_json = "1"
thiserror = "1"
url = "2"
Expand Down
2 changes: 1 addition & 1 deletion examples/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@iconify-json/codicon": "^1.1.37",
"@iconify-json/ph": "^1.1.8",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tauri-apps/cli": "2.0.0-beta.7",
"@tauri-apps/cli": "2.0.0-beta.8",
"@unocss/extractor-svelte": "^0.58.0",
"internal-ip": "^8.0.0",
"svelte": "^4.2.8",
Expand Down
1 change: 1 addition & 0 deletions examples/api/src-tauri/capabilities/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"tray:default",
"event:default",
"window:default",
"image:default",
"notification:default",
"os:allow-platform",
"dialog:allow-open",
Expand Down
15 changes: 5 additions & 10 deletions examples/api/src-tauri/gen/schemas/desktop-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"type": "object",
"required": [
"identifier",
"permissions",
"windows"
"permissions"
],
"properties": {
"identifier": {
Expand Down Expand Up @@ -93,14 +92,10 @@
},
"platforms": {
"description": "Target platforms this capability applies. By default all platforms are affected by this capability.",
"default": [
"linux",
"macOS",
"windows",
"android",
"iOS"
"type": [
"array",
"null"
],
"type": "array",
"items": {
"$ref": "#/definitions/Target"
}
Expand All @@ -115,7 +110,7 @@
],
"properties": {
"urls": {
"description": "Remote domains this capability refers to. Can use glob patterns.",
"description": "Remote domains this capability refers to using the [URLPattern standard](https://urlpattern.spec.whatwg.org/).",
"type": "array",
"items": {
"type": "string"
Expand Down
Loading

0 comments on commit f92e4a9

Please sign in to comment.