Transparent windows require platform-specific workarounds (WebView2 on Windows, compositor support on Linux) and don't work on mobile. Use an opaque window instead, removing the outer padding, rounded corners, and drop shadow that depended on transparency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
43 lines
927 B
JSON
43 lines
927 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/nicegui-org/nicegui/v2/tauri-conf-schema.json",
|
|
"productName": "Bevy Tasks",
|
|
"version": "0.1.0",
|
|
"identifier": "com.bevytasks.app",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:1422",
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": false,
|
|
"windows": [
|
|
{
|
|
"title": "Bevy Tasks",
|
|
"width": 400,
|
|
"height": 700,
|
|
"minWidth": 320,
|
|
"minHeight": 500,
|
|
"resizable": true,
|
|
"decorations": false,
|
|
"transparent": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"plugins": {}
|
|
}
|