Explicitly check for channels in widevine plugin unpack command.
This commit is contained in:
parent
c28eb26100
commit
ea7c012e4b
@ -59,7 +59,8 @@ in let
|
|||||||
unpackCmd = let
|
unpackCmd = let
|
||||||
chan = if upstream-info.channel == "dev" then "chrome-unstable"
|
chan = if upstream-info.channel == "dev" then "chrome-unstable"
|
||||||
else if upstream-info.channel == "stable" then "chrome"
|
else if upstream-info.channel == "stable" then "chrome"
|
||||||
else "chrome-${upstream-info.channel}";
|
else if upstream-info.channel == "beta" then "chrome-beta"
|
||||||
|
else throw "Unknown chromium channel.";
|
||||||
in ''
|
in ''
|
||||||
mkdir -p plugins
|
mkdir -p plugins
|
||||||
ar p "$src" data.tar.xz | tar xJ -C plugins --strip-components=4 \
|
ar p "$src" data.tar.xz | tar xJ -C plugins --strip-components=4 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user