diff --git a/README.md b/README.md index 028dcd4..57aa6d4 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,6 @@ The only original thing being done is the editing and gathering of all materials 1. Clone this repository 2. Run `pip install -r requirements.txt` -3. Run `python -m playwright install` and `python -m playwright install-deps` - **EXPERIMENTAL!!!!** On MacOS and Linux (debian, arch, fedora and centos, and based on those), you can run an install script that will automatically install steps 1 to 3. (requires bash) diff --git a/install.sh b/install.sh index 782069d..254438f 100644 --- a/install.sh +++ b/install.sh @@ -12,7 +12,7 @@ function Help(){ echo "Options:" echo " -h: Show this help message and exit" echo " -d: Install only dependencies" - echo " -p: Install only python dependencies (including playwright)" + echo " -p: Install only python dependencies" echo " -b: Install just the bot" echo " -l: Install the bot and the python dependencies" } @@ -107,23 +107,6 @@ function install_python_dep(){ cd .. } -# install playwright function -function install_playwright(){ - # tell the user that the script is going to install playwright - echo "Installing playwright" - # cd into the directory where the script is downloaded - cd RedditVideoMakerBot - # run the install script - python3 -m playwright install - python3 -m playwright install-deps - # give a note - printf "Note, if these gave any errors, playwright may not be officially supported on your OS, check this issues page for support\nhttps://github.com/microsoft/playwright/issues" - if [ -x "$(command -v pacman)" ]; then - printf "It seems you are on and Arch based distro.\nTry installing these from the AUR for playwright to run:\nenchant1.6\nicu66\nlibwebp052\n" - fi - cd .. -} - # Install depndencies function install_deps(){ # if the platform is mac, install macos @@ -148,7 +131,7 @@ function install_deps(){ # else else # print an error message and exit - printf "Your OS is not supported\n Please install python3, pip3 and git manually\n After that, run the script again with the -pb option to install python and playwright dependencies\n If you want to add support for your OS, please open a pull request on github\n + printf "Your OS is not supported\n Please install python3, pip3 and git manually\n After that, run the script again with the -pb option to install python and dependencies\n If you want to add support for your OS, please open a pull request on github\n https://github.com/elebumm/RedditVideoMakerBot" exit 1 fi @@ -176,10 +159,9 @@ function install_main(){ echo "Installing only dependencies" install_deps elif [[ PYTHON_ONLY -eq 1 ]]; then - # if the -p (only python dependencies) options is selected install just the python dependencies and playwright + # if the -p (only python dependencies) options is selected install just the python dependencies echo "Installing only python dependencies" install_python_dep - install_playwright # if the -b (only the bot) options is selected install just the bot elif [[ JUST_BOT -eq 1 ]]; then echo "Installing only the bot" @@ -195,7 +177,6 @@ function install_main(){ install_deps get_the_bot install_python_dep - install_playwright fi DIR="./RedditVideoMakerBot" diff --git a/video_creation/data/videos.json b/video_creation/data/videos.json index fe51488..0637a08 100644 --- a/video_creation/data/videos.json +++ b/video_creation/data/videos.json @@ -1 +1 @@ -[] +[] \ No newline at end of file