mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2025-12-29 03:23:00 +03:00
First run after install. Some fixes
This commit is contained in:
16
README.md
16
README.md
@@ -6,7 +6,7 @@
|
||||
|
||||
## Requirements
|
||||
|
||||
1. **wget** (Is needed for downloading the ffmpeg lib and Chrome)
|
||||
1. **wget** (Is needed for downloading the ffmpeg lib and widevine)
|
||||
```sudo apt install wget```
|
||||
|
||||
2. **unzip** (Is needed for unpacking the downloaded file)
|
||||
@@ -14,22 +14,22 @@
|
||||
|
||||
## Usage
|
||||
|
||||
1. Clone this repo and
|
||||
1. Clone this repo and
|
||||
|
||||
```git clone https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git```
|
||||
|
||||
|
||||
2. Go to the repo root folder
|
||||
|
||||
```cd ./fix-opera-linux-ffmpeg-widevine```
|
||||
|
||||
|
||||
3. (*Optional*) Run script. And if it works well go to next step.
|
||||
|
||||
```sudo ./scripts/fix-opera.sh```
|
||||
|
||||
4. Run install script and answer few questions.
|
||||
|
||||
|
||||
```sudo ./install.sh```
|
||||
|
||||
|
||||
5. Delete the repo
|
||||
|
||||
```rm -rf ./fix-opera-linux-ffmpeg-widevine```
|
||||
|
||||
```cd .. && rm -rf ./fix-opera-linux-ffmpeg-widevine```
|
||||
|
||||
15
install.sh
15
install.sh
@@ -72,6 +72,7 @@ done
|
||||
|
||||
mkdir -p $INSTALL_PATH
|
||||
cp -f $SCRIPT_PATH/scripts/fix-opera.sh $INSTALL_PATH
|
||||
chmod +x $INSTALL_PATH/fix-opera.sh
|
||||
|
||||
printf "Would you like to create an alias for user $USER_NAME? [y/n]"
|
||||
while read CREATE_ALIAS; do
|
||||
@@ -101,3 +102,17 @@ while read CREATE_HOOK; do
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
printf "Would you like to run it now? [y/n]"
|
||||
while read RUN_NOW; do
|
||||
case $RUN_NOW in
|
||||
"y" | "Y")
|
||||
$INSTALL_PATH/fix-opera.sh
|
||||
break;;
|
||||
"n" | "N")
|
||||
break;;
|
||||
* )
|
||||
printf "Would you like to run it now? [y/n]"
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user