mirror of
https://github.com/LittleQuartZ/addmon.git
synced 2026-02-07 02:45:28 +07:00
refactor: move monitor page to index route and configure Tauri window
- Move monitor page content from /monitor to / (index route) - Create placeholder monitor_.tsx route - Remove Header component from root layout - Configure Tauri window with transparent titlebar and dark background - Enable macOS private API for window styling
This commit is contained in:
parent
c145d3fb07
commit
5929358754
7 changed files with 357 additions and 355 deletions
|
|
@ -21,7 +21,7 @@ tauri-build = { version = "2.5.3", features = [] }
|
|||
serde_json = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
log = "0.4"
|
||||
tauri = { version = "2.9.5", features = [] }
|
||||
tauri = { version = "2.9.5", features = ["macos-private-api"] }
|
||||
tauri-plugin-log = "2"
|
||||
tauri-plugin-fs = "2"
|
||||
tauri-plugin-dialog = "2"
|
||||
|
|
|
|||
|
|
@ -16,9 +16,12 @@
|
|||
"width": 800,
|
||||
"height": 600,
|
||||
"resizable": true,
|
||||
"fullscreen": false
|
||||
"fullscreen": false,
|
||||
"titleBarStyle": "Transparent",
|
||||
"backgroundColor": "#0a0a0a"
|
||||
}
|
||||
],
|
||||
"macOSPrivateApi": true,
|
||||
"security": {
|
||||
"csp": null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue