Skip to content

Commit

Permalink
Add default shaka-packager build name (#74)
Browse files Browse the repository at this point in the history
If the user build Shaka-packager manually, the default name will be “packager”.
Adding it to the list will ensure that Devine detects the app in this situation.
  • Loading branch information
Arias800 authored Feb 27, 2024
1 parent 0c20160 commit 75641bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devine/core/drm/widevine.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def decrypt(self, path: Path) -> None:
raise ValueError("Cannot decrypt a Track without any Content Keys...")

platform = {"win32": "win", "darwin": "osx"}.get(sys.platform, sys.platform)
executable = get_binary_path("shaka-packager", f"packager-{platform}", f"packager-{platform}-x64")
executable = get_binary_path("shaka-packager", "packager", f"packager-{platform}", f"packager-{platform}-x64")
if not executable:
raise EnvironmentError("Shaka Packager executable not found but is required.")
if not path or not path.exists():
Expand Down

0 comments on commit 75641bc

Please sign in to comment.