Files
qbz/src-tauri/tauri.conf.json
T
vicrodh dec620ee4f fix(window): create main window programmatically for correct decorations
On Linux/Wayland, windows created with decorations:false cannot
reliably switch to decorations:true at runtime - the WM buttons
render but don't function until a maximize/restore cycle.

Fix by removing the declarative window from tauri.conf.json and
creating it programmatically in the setup hook with the correct
decorations value from the start. The WM sees the right state when
the window is first mapped, so buttons work immediately.

Also fixes the empty frame flash from visible:false + early show().
2026-02-09 13:30:26 -06:00

61 lines
1.6 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "QBZ",
"version": "1.1.9",
"identifier": "com.blitzfc.qbz",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../build"
},
"app": {
"windows": [],
"security": {
"csp": null,
"assetProtocol": {
"enable": true,
"scope": [
"$CACHE/qbz/**",
"$CONFIG/qbz/**",
"$DATA/qbz/**",
"$LOCALDATA/qbz/**",
"$HOME/.cache/qbz/**",
"$HOME/.config/qbz/**",
"$HOME/.local/share/qbz/**",
"/mnt/**",
"/media/**",
"/run/media/**"
]
}
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"category": "Music",
"shortDescription": "Native high-fidelity client for Qobuz\u2122 subscribers on Linux",
"longDescription": "QBZ is a native high-fidelity client for Qobuz\u2122 subscribers on Linux, designed for audiophiles who need bit-perfect playback without browser sample rate limitations. This application uses the Qobuz API but is not certified by Qobuz.",
"linux": {
"deb": {
"depends": [],
"recommends": ["alsa-utils"]
},
"rpm": {
"depends": [],
"recommends": ["alsa-utils"]
},
"appimage": {
"bundleMediaFramework": false
}
}
}
}