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
|
||||
then
|
||||
printf "\nInstalling WidevineCdm ...\n"
|
||||
rm -rf "$OPERA_FOLDER/lib_extra"
|
||||
mkdir "$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"
|
||||
else
|
||||
printf "There should be Google Chrome installed to /opt/google/chrome to use its WidevineCdm\n"
|
||||
exit 1
|
||||
printf "\nThere should be Google Chrome installed to /opt/google/chrome to use its WidevineCdm\n"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user