[Update/Prepare] Prepare for window transparency feature.

This commit is contained in:
Sakamoto Shiina
2024-07-30 05:31:00 +09:00
parent 4c82f72c8f
commit 4e7667e277
4 changed files with 22 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ edition = "2021"
tauri-build = { version = "1", features = [] }
[dependencies]
tauri = { version = "1", features = [ "window-set-always-on-top", "window-create", "window-close", "shell-sidecar", "shell-open", "devtools"] }
tauri = { version = "1", features = [ "window-set-decorations", "window-set-always-on-top", "window-create", "window-close", "shell-sidecar", "shell-open", "devtools"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

View File

@@ -15,25 +15,28 @@
"window": {
"create": true,
"close": true,
"setAlwaysOnTop": true
},
"shell": {
"setAlwaysOnTop": true,
"setDecorations": true
},
"shell": {
"all": false,
"open": true,
"sidecar": true,
"scope": [
{
"name": "bin/test", "sidecar": true,"args": true
}
{
"name": "bin/test", "sidecar": true,"args": true
}
]
}
},
"windows": [
{
}
},
"windows": [
{
"title": "VRCT",
"width": 870,
"height": 654
}
"height": 654,
"transparent": true,
"decorations": false
}
],
"security": {
"csp": null