-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Labels
Description
Description
When clicking opds://
URLs in a browser on Windows, Thorium Reader opens but fails to import the OPDS catalog. Similarly, double-clicking .lcpl
files while Thorium is running focuses the app but doesn't open the file.
Steps to Reproduce
- Run Thorium in development mode (
npm run start:dev
) - Click an OPDS URL in browser (e.g.,
opds://gateway.ebooks.land/library/v1/library
) - Thorium opens/focuses but the catalog is not imported
Expected Behavior
The OPDS catalog should be automatically imported and displayed
Actual Behavior
Thorium opens but nothing happens - no catalog import
Environment
- OS: Windows 10/11
- Thorium Version: 3.2.0-alpha.1 (development mode)
- Node Version: 22.x
Root Cause
Windows passes protocol URLs and file paths as command-line arguments to the second instance, but these weren't being properly extracted from the argv array in development mode.