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 = [] } tauri-build = { version = "1.0", features = [] }
[dependencies] [dependencies]
tauri = { version = "1.0", features = ["api-all"] } tauri = { version = "1.0", features = ["api-all", "macos-private-api"] }
[features] [features]
# by default Tauri runs in production mode # by default Tauri runs in production mode

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

Loading…
Cancel
Save