mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-29 03:23:00 +03:00
Update fix-opera.sh
update messages
This commit is contained in:
@@ -38,11 +38,11 @@ find $TEMP_FOLDER -name "*$FILE_NAME*" -delete
|
|||||||
|
|
||||||
if test -d $WIDEVINE_FOLDER
|
if test -d $WIDEVINE_FOLDER
|
||||||
then
|
then
|
||||||
|
printf "\nInstalling WidevineCdm ...\n"
|
||||||
rm -rf "$OPERA_FOLDER/lib_extra"
|
rm -rf "$OPERA_FOLDER/lib_extra"
|
||||||
mkdir "$OPERA_FOLDER/lib_extra"
|
mkdir "$OPERA_FOLDER/lib_extra"
|
||||||
cp -R $WIDEVINE_FOLDER "$OPERA_FOLDER/lib_extra/"
|
cp -R $WIDEVINE_FOLDER "$OPERA_FOLDER/lib_extra/"
|
||||||
printf "[\n {\n "preload": "/usr/lib/x86_64-linux-gnu/opera/lib_extra/WidevineCdm"\n }\n]\n" > "$OPERA_FOLDER/resources/widevine_config.json"
|
printf "[\n {\n "preload": "/usr/lib/x86_64-linux-gnu/opera/lib_extra/WidevineCdm"\n }\n]\n" > "$OPERA_FOLDER/resources/widevine_config.json"
|
||||||
else
|
else
|
||||||
printf "There should be Google Chrome installed to /opt/google/chrome to use its WidevineCdm\n"
|
printf "\nThere should be Google Chrome installed to /opt/google/chrome to use its WidevineCdm\n"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user