Closed MagnusStrom closed 3 years ago
Hi @MagnusStrom, so you tried try this?
4. If you are on MacOS, please add Chrome alias in ~/.bashrc or ~/.zshrc or other shell rc file:
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
Restart terminal app and then run command -v chrome
? Run /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
in your terminal, will it open chrome for you?
Running the second command worked, but the first one did not.
@KevCui And yes, I have tried that. I did:
nano ~./bashrc
and got this https://i.imgur.com/kaTprf3.png
Hi @MagnusStrom, you edited ~/.bashrc
, not ~./bashrc
, right? I think it's a typo in your previous comment.
Since Apple changed default shell to Zsh, by any chance, you are not using Bash? You can check you current shell with this command echo $SHELL
. If it's Zsh, you have to add alias into ~/.zshrc
.
Hello @KevCui, yes turns out i needed to edit zshrc
. And running command -v chrome
now gives me:
https://i.imgur.com/3r01CTh.png
But still running ./soap2day-dl.sh -n 'game of'
gives me nothing!
Hi @MagnusStrom, one step closer :) Could you run bash -x ./soap2day-dl.sh -n 'game of'
and share the log? Thanks.
Wait, I think I did install jq incorrectly, i have to install it through homebrew
Update: Now it returns this.
Hi @MagnusStrom, it's weird the chrome path is not recognized during script execution. I hard-coded it in the latest commit. It should work for you now.
it worked!! thank you!!
I'm on mac, and maybe I just installed the chrome thing wrong? I put it in the file and ran command -v chrome and nothing happened, and then I ran the script and nothing happened.