Skip to content

fix(sounds): sound in packaged Linux builds (blob URLs) - #24

Merged
eJosR-Coding merged 1 commit into
mainfrom
fix/sound-release
Sep 17, 2026
Merged

eJosR-Coding merged 1 commit into
mainfrom
fix/sound-release

Conversation

@eJosR-Coding

Copy link
Copy Markdown
Owner

Packaged 0.2.0 on Fedora showed toasts without sound: WebKitGTK can't play media from tauri:// / asset://. Sounds now go through fetch → blob: URL, cached per sound. Local pnpm tauri build rpm produced for verification.

WebKitGTK's media element can't stream from Tauri's custom protocols
(tauri://, asset://) in packaged builds, although fetch() over them
works. Sounds are fetched once into a blob: URL and played from there;
CSP media-src allows blob:. Found on the installed 0.2.0 rpm: toast
without sound, dev build fine.
@eJosR-Coding
eJosR-Coding merged commit 3a39b2a into main Sep 17, 2026
1 check passed
@eJosR-Coding
eJosR-Coding deleted the fix/sound-release branch September 17, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant