pull/465/head
micziz 3 years ago
parent 536e7ae4ba
commit 7b555f4044

@ -43,6 +43,11 @@ done
function install_macos(){
if [ ! command -v brew &> /dev/null ]; then
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
if [[ uname -m == "x86_64" ]]; then
echo "export PATH=/usr/local/bin:$PATH" >> ~/.bash_profile && source ~/.bash_profile
else
echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.bash_profile && source ~/.bash_profile
fi
else
echo "Homebrew is already installed"
fi
@ -139,8 +144,8 @@ function install_python_dep(){
function install_playwright(){
echo "Installing playwright"
cd RedditVideoMakerBot
playwright install
playwright install-deps
python3 -m playwright install
python3 -m playwright install-deps
}
install_deps(){

Loading…
Cancel
Save