Skip to content

OPDS protocol URLs and LCPL file associations not working on Windows #3075

@bjnoel

Description

@bjnoel

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

  1. Run Thorium in development mode (npm run start:dev)
  2. Click an OPDS URL in browser (e.g., opds://gateway.ebooks.land/library/v1/library)
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions