Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your commands to install Autoplug in linux do not work, due to the link to the raw file being outdated? or incorrectly formatted? #238

Open
harryeffinpotter opened this issue Apr 30, 2024 · 3 comments

Comments

@harryeffinpotter
Copy link

This line does not work on linux:
curl -o AutoPlug-Client.jar https://github.com/Osiris-Team/AutoPlug-Releases/raw/master/beta-builds/AutoPlug-Client.jar

This line does:
curl -o AutoPlug-Client.jar https://raw.githubusercontent.com/Osiris-Team/AutoPlug-Releases/master/beta-builds/AutoPlug-Client.jar

I'm guessing git changed how they store raw files and this probably used to work.
I noticed the file result to your suggested manual install commands was 0 bytes and dug futher.

Hope this helps!

@github-actions github-actions bot added this to 🔍 Evaluating... in AutoPlug-Client-Development Apr 30, 2024
@Osiris-Team Osiris-Team moved this from 🔍 Evaluating... to ⭐️ Enhancements in AutoPlug-Client-Development Apr 30, 2024
@Osiris-Team
Copy link
Owner

@harryeffinpotter Great, yeah, weirdly enough, in the browser both links work.
Thanks, will add it to the site once I got time to work on autoplug again ;)

@Minionguyjpro
Copy link
Contributor

@harryeffinpotter Great, yeah, weirdly enough, in the browser both links work. Thanks, will add it to the site once I got time to work on autoplug again ;)

Probably the first link redirects to the second one and curl isn't set up to follow the redirects, while a browser does?

@Minionguyjpro
Copy link
Contributor

@harryeffinpotter Great, yeah, weirdly enough, in the browser both links work. Thanks, will add it to the site once I got time to work on autoplug again ;)

Probably the first link redirects to the second one and curl isn't set up to follow the redirects, while a browser does?

Yeah this is the case. I also ran into the same 0 byte issue with curl with the first link, but if I'd run it with the -L parameter then it works and downloads the file correctly. That first link just redirects to the second one, thus if you'd use curl without it making sure to follow redirects then the generated file will be zero bytes. So that it doesn't work is just due to redirects...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
AutoPlug-Client-Development
  
⭐️ Enhancements
Development

No branches or pull requests

3 participants