diff --git a/README.md b/README.md index a1ceb3e..2c5321a 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,7 @@ This project uses [Chromium Embedded Framework](https://github.com/chromiumembed ## Installation - To install the app, either [build from source](#building-from-source) or [download a prebuilt binary from the Releases section](https://github.com/mahancoder/Adobe-Connect-Linux/releases) -- After that, you need to get `libpepflashplayer.so`. Due to copyright reasons, I can't provide it in my repo. -You can get it from [here](https://github.com/darktohka/clean-flash-builds/releases/download/v1.7/flash_player_patched_ppapi_linux.x86_64.tar.gz) - -- Extract the archive. The file you need is `libpepflashplayer.so`. - -- After that, put the `libpepflashplayer.so` in `~/.local/lib/flash/` (create the flash directory if it doesn't exist) - -- Now, exectue `install.sh` **as your normal user** to install the app: +- Then, exectue `install.sh` **as your normal user** to install the app: ``` ./install.sh ``` diff --git a/install.sh b/install.sh index 9523110..c5cac8c 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,14 @@ #!/bin/bash shopt -s extglob +echo "Downloading Flash Player..." && +mkdir .flash && +cd .flash && +wget "https://github.com/darktohka/clean-flash-builds/releases/download/v1.7/flash_player_patched_ppapi_linux.x86_64.tar.gz" -O ./flash.tar.gz && +tar -xzf flash.tar.gz && +mkdir -p $HOME/.local/lib/flash && +cp ./libpepflashplayer.so $HOME/.local/lib/flash/ && +cd .. && +rm -r .flash/ && echo "Copying files..." && INSTALL_PATH="${INSTALL_DIRECTORY:-/usr/bin/adobe/connect}" && sudo mkdir -p $INSTALL_PATH &&