Skip to content

[Feedback]: Allow reading Widevine/Playready files from a directory other than the install directory #1217

@WOSSFOSS

Description

@WOSSFOSS

Type

Both

Suggestion

I am trying to bundle this as a CLI tool via Homebrew, however it only wants to read widevine/playready files from the installdir and not the cwd or the contentDirectory environment variable. Would it be possible to reorder the check at

// new-cfg
const workingDir = (
process as NodeJS.Process & {
pkg?: unknown;
}
).pkg
? path.dirname(process.execPath)
: process.env.contentDirectory
? process.env.contentDirectory
: path.join(__dirname, '/..');
so that the contentDirectory comes first?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions