b2cdd12ce0
Enable macOS private API and make the app window transparent. Add tauri feature and tauri.conf settings (macOSPrivateApi + transparent) and call set_background_color in setup to use an RGBA transparent background. Adjust CSS so body is transparent, add --radius-window, and move app background to #app/.layout with border-radius and overflow hidden to preserve rounded transparent window styling.
39 lines
806 B
JSON
39 lines
806 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "gitpub-desktop",
|
|
"version": "0.1.0",
|
|
"identifier": "com.andrewzambazos.gitpub-desktop",
|
|
"build": {
|
|
"frontendDist": "../frontend"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"macOSPrivateApi": true,
|
|
"windows": [
|
|
{
|
|
"title": "Gitpub Desktop",
|
|
"width": 1320,
|
|
"height": 860,
|
|
"minWidth": 1024,
|
|
"minHeight": 680,
|
|
"decorations": false,
|
|
"transparent": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"../frontend/assets/icons/GitpubDesktop-Icon.ico"
|
|
]
|
|
}
|
|
}
|