Merge pull request #108 from alimy/main

desktop/tauri: disable resizable transparent window and enable setfullscreen on macos
pull/111/head
Michael Li 2 years ago committed by GitHub
commit d7a00cf4fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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