-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update tauri example to v2 (#132)
* chore: update tauri example to v2 closes #131 * Update test.yml * Update test.yml
- Loading branch information
Showing
5 changed files
with
47 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
# Generated by Cargo | ||
# will have compiled files and executables | ||
/target/ | ||
gen/schemas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
[package] | ||
name = "app" | ||
version = "0.1.0" | ||
version = "0.0.0" | ||
description = "A Tauri App" | ||
authors = ["Tauri Programme within The Commons Conservancy"] | ||
license = "MIT OR Apache-2.0" | ||
edition = "2021" | ||
|
||
[build-dependencies] | ||
tauri-build = { version = "2.0.0-beta" } | ||
|
||
[dependencies] | ||
serde_json = "1" | ||
serde = { version = "1", features = ["derive"] } | ||
tauri = { version = "1", features = ["api-all"] } | ||
tauri = { version = "2.0.0-beta", features = ["macos-private-api"] } | ||
window-vibrancy = { path = "../../../" } | ||
|
||
|
||
[build-dependencies] | ||
tauri-build = { version = "1" } | ||
|
||
[features] | ||
default = ["custom-protocol"] | ||
custom-protocol = ["tauri/custom-protocol"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,28 @@ | ||
{ | ||
"package": { | ||
"productName": "app", | ||
"version": "0.1.0" | ||
}, | ||
"productName": "TauriApp", | ||
"version": "0.0.0", | ||
"identifier": "com.tauri.dev", | ||
"build": { | ||
"distDir": "../public", | ||
"devPath": "../public" | ||
"frontendDist": "../public" | ||
}, | ||
"tauri": { | ||
"bundle": { | ||
"active": true, | ||
"targets": "all", | ||
"identifier": "com.tauri.window-vibrancy", | ||
"icon": [ | ||
"icons/32x32.png", | ||
"icons/128x128.png", | ||
"icons/128x128@2x.png", | ||
"icons/icon.icns", | ||
"icons/icon.ico" | ||
], | ||
"resources": [], | ||
"externalBin": [], | ||
"copyright": "", | ||
"category": "DeveloperTool", | ||
"shortDescription": "", | ||
"longDescription": "", | ||
"deb": { | ||
"depends": [] | ||
}, | ||
"macOS": { | ||
"frameworks": [], | ||
"exceptionDomain": "", | ||
"signingIdentity": null, | ||
"entitlements": null | ||
}, | ||
"windows": { | ||
"certificateThumbprint": null, | ||
"digestAlgorithm": "sha256", | ||
"timestampUrl": "" | ||
} | ||
}, | ||
"updater": { | ||
"active": false | ||
}, | ||
"allowlist": { | ||
"all": true | ||
}, | ||
"app": { | ||
"withGlobalTauri": true, | ||
"windows": [{ "decorations": false, "transparent": true }], | ||
"macOSPrivateApi": true, | ||
"windows": [ | ||
{ | ||
"title": "app", | ||
"width": 800, | ||
"height": 600, | ||
"resizable": true, | ||
"fullscreen": false, | ||
"transparent": true, | ||
"decorations": false | ||
} | ||
], | ||
"security": { | ||
"csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'" | ||
"csp": null | ||
} | ||
}, | ||
"bundle": { | ||
"active": true, | ||
"targets": "all", | ||
"icon": [ | ||
"icons/32x32.png", | ||
"icons/128x128.png", | ||
"icons/128x128@2x.png", | ||
"icons/icon.icns", | ||
"icons/icon.ico" | ||
], | ||
"resources": ["icons/32x32.png"] | ||
} | ||
} |