You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In copy_recording_to_mobile_url, app.fs().open(destination.clone(), options) passes a FilePath::Url (e.g., content:// on Android) directly where open expects impl AsRef<Path>. FilePath does not implement AsRef<Path>, which will cause a compilation error on Android/iOS targets. This blocks the mobile export feature from building. The function should convert the URL to a path (e.g., using to_file_path() on the URL) or handle the URL case differently for Android content URIs.
letmut destination_file = match app.fs().open(destination.clone(), options){
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
修复内容
<audio>无法解码 data: URL,改用 Blob URL(base64 → Uint8Array → Blob → createObjectURL)<a download>为 Tauri dialog save + 后端export_audio_recording命令,让用户可以选择保存路径media-src blob:以支持 WebKitGTK 的 Blob URL 音频播放audioDecodeFailed翻译键(中/英/日/韩/繁)readAudioRecording返回类型从Uint8Array改为string(data URL)改动文件
PR Type
Bug fix, Enhancement
Description
Switch audio playback to Blob URL for WebKitGTK compatibility
Add export via Tauri dialog with cross-platform support (desktop & mobile)
Update CSP, i18n, IPC types, and mobile runtime for new features
File Walkthrough
2 files
Add export command and change read return typeRewrite playback and export with Blob URL and dialog3 files
Register export_audio_recording commandRegister tauri-plugin-fs for mobileAdd media-src blob: to CSP5 files
Add exportError and audioDecodeFailed keysAdd Japanese translations for new keysAdd Korean translations for new keysAdd Simplified Chinese translationsAdd Traditional Chinese translations1 files
Change readAudioRecording return type to string1 files
Add tauri-plugin-fs for mobile targets