desktop/tauri: optimize disable resizable transparent window and enable setfullscreen on macos

pull/108/head
alimy 2 years ago
parent e8cefc447f
commit 58171998a3

@ -12,7 +12,7 @@ rust-version = "1.57"
tauri-build = { version = "1.0", features = [] }
[dependencies]
tauri = { version = "1.0", features = ["api-all"] }
tauri = { version = "1.0", features = ["api-all", "macos-private-api"] }
[features]
# by default Tauri runs in production mode

@ -10,6 +10,7 @@
"withGlobalTauri": true
},
"tauri": {
"macOSPrivateApi": true,
"bundle": {
"active": true,
"targets": "all",
@ -63,8 +64,10 @@
"title": "泡泡 | 一个清新文艺的微社区",
"width": 1080,
"height": 800,
"resizable": true,
"fullscreen": false
"resizable": false,
"fullscreen": false,
"transparent": true,
"decorations": true
}
],
"security": {

Loading…
Cancel
Save