feat(#10): add batch download settings and capabilities

- Introduced new batch download settings in the settings slice, allowing users to configure options for directory picking, streaming ZIP downloads, and blob ZIP downloads.
- Implemented a new general settings panel for managing batch download preferences.
- Added utility functions to handle directory selection and ZIP file creation.
- Updated the download logic to support multiple download modes based on user preferences.
- Enhanced documentation to reflect changes in batch download functionality.
This commit is contained in:
鲁树人 committed 2026-10-21 10:24:21 +09:00
1 parent 3059f495ab
commit 07d160c547
16 files changed
+660 -55

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
/** True when the user cancelled a File System Access picker (or similar AbortError). */
export function isAbortError(e: unknown): boolean {
return e instanceof DOMException && e.name === 'AbortError';
}