* Add Portuguese translations for permission error messages Add error message translations for the permission check flow in the Portuguese locale, covering both check failures and request failures. * Fix history audio playback on Linux WebKitGTK cannot play audio files via the asset:// protocol (or at least not reliably), returning MEDIA_ERR_SRC_NOT_SUPPORTED. Additionally, convertFileSrc was double- encoding the path (/ became %2F). Changed to read audio files directly using the fs plugin and create blob URLs instead. Also added APPDATA to fs:scope permissions to allow reading recordings from the app data directory. * Fix audio playback on macOS by using asset protocol on non-Linux The blob URL approach for audio playback works on Linux but breaks macOS. This reverts the blob change to use convertFileSrc with the asset protocol on macOS/Windows while keeping the blob approach for Linux where it's needed. Also adds proper cleanup of blob URLs to prevent memory leaks when history entries are unmounted.
24 lines
675 B
JSON
24 lines
675 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capabilities for the app",
|
|
"windows": ["main", "recording_overlay"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"store:default",
|
|
"updater:default",
|
|
"process:default",
|
|
"global-shortcut:allow-is-registered",
|
|
"global-shortcut:allow-register",
|
|
"global-shortcut:allow-unregister",
|
|
"global-shortcut:allow-unregister-all",
|
|
"macos-permissions:default",
|
|
"fs:read-files",
|
|
"fs:allow-resource-read-recursive",
|
|
{
|
|
"identifier": "fs:scope",
|
|
"allow": [{ "path": "$APPDATA" }, { "path": "$APPDATA/**/*" }]
|
|
}
|
|
]
|
|
}
|