forked from DRMTalks/devine
Add default shaka-packager build name (#74)
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.
This commit is contained in:
parent
0c20160ddc
commit
75641bc8ee
|
@ -224,7 +224,7 @@ class Widevine:
|
|||
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():
|
||||
|
|
Loading…
Reference in New Issue