liamtoaldo / mangodl

An easy-to-use cli tool for downloading manga
GNU General Public License v3.0
176 stars 10 forks source link

Doesn't Work on macOS #2

Closed TheArchitect-666 closed 3 years ago

TheArchitect-666 commented 3 years ago

It's throwing this in the terminal output

install: /usr/bin/mangodl: Read-only file system

liamtoaldo commented 3 years ago

Have you tried running the command with sudo?

liamtoaldo commented 3 years ago

Btw, can you do an echo $PATH, so that I see the path env variable in macos?

TheArchitect-666 commented 3 years ago

Yep, I tried. In fact I had to disable my System Integrity Protection as well.

Here is the path.

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/username/.cargo/bin

liamtoaldo commented 3 years ago

hmmm, I've never used macos and it seems that the filesystem is kinda different from Linux, try running: sudo mv mangodl /Users/usernames/.cargo/bin/ and then run mangodl to see if it worked. If it doesn't then try other paths as well

TheArchitect-666 commented 3 years ago

That's the path for rust's package manager.

liamtoaldo commented 3 years ago

Oh i didn't know that lol. I thought it was the macOS' home directory

TheArchitect-666 commented 3 years ago

Lmao. I am still not able to get it working.

liamtoaldo commented 3 years ago

How do you install executables in macOS usually?

TheArchitect-666 commented 3 years ago

I mean that's how you execute in macOS as well but I guess the issue lies somewhere else.

liamtoaldo commented 3 years ago

I just had the opportunity to use a friend's macbook and I think I fixed the issue, check the new installation process in the readme and let me know, if it works I'll close the issue.

TheArchitect-666 commented 3 years ago

Sure wait.

TheArchitect-666 commented 3 years ago

Oh damn. I should have read the install.sh script. Lmao, my bad. I thought the program needed some dependencies as well to run.

What am I smoking man.

liamtoaldo commented 3 years ago

lmao, don't worry, anyway you shouldn't use the install.sh script for macOS, I literally wrote the commands to execute for macOS installation in the Readme. So you can confirm it works, right?

liamtoaldo commented 3 years ago

But if you want and if you think that it could help other mac users I can create an easy install script even for mac

TheArchitect-666 commented 3 years ago

Yes, I know but It previously had that mentioned no. Anyways, here is something you should look at. And, yeah, you can create a homebrew cask for macOS just like AUR.

https://user-images.githubusercontent.com/84620928/120294636-03fa4f00-c2e4-11eb-9aad-0fab3e2b2850.mov

TheArchitect-666 commented 3 years ago

Wait. I will contribute to that if you allow me and in the meantime, you can look into this why it's not downloading.

liamtoaldo commented 3 years ago

Yeah I would be pleased if you could create an homebrew cask, just fork the repository and work on it. Also, the problem you are having there is because the host hasn't uploaded boruto chapters since July 2020 :sweat_smile: .

liamtoaldo commented 3 years ago

But that's another thing, so the issue is now solved. If you want, you can create a new issue (as feature) with the proposal to create a homebrew cask.

TheArchitect-666 commented 3 years ago

Oh Alright makes sense. I will work on it and update you :D