use pipx to install playwright

Co-authored-by: Cyteon <129582290+Cyteon@users.noreply.github.com>
pull/2029/head
James Aaron Erang 1 year ago committed by GitHub
parent 44de7b8875
commit 4e3cc3b893
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -125,8 +125,8 @@ function install_playwright() {
# cd into the directory where the script is downloaded
cd RedditVideoMakerBot-master
# run the install script
python3 -m playwright install
python3 -m playwright install-deps
pipx run playwright install
pipx run 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

Loading…
Cancel
Save