Files
Gitpub-Desktop/src-tauri/tauri.conf.json
T
andrew b2cdd12ce0 Enable transparent macOS window and UI tweaks
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.
2026-05-13 13:50:00 +12:00

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"
]
}
}