From 4e3cc3b893c65884d72a1cd5000c26aac7dfbcbb Mon Sep 17 00:00:00 2001 From: James Aaron Erang Date: Tue, 14 May 2024 09:17:06 +0800 Subject: [PATCH] use pipx to install playwright Co-authored-by: Cyteon <129582290+Cyteon@users.noreply.github.com> --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 4e51b51..bf2510c 100755 --- a/install.sh +++ b/install.sh @@ -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