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

Updated wget_opts #420

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updated wget_opts #420

wants to merge 1 commit into from

Conversation

sevi-kun
Copy link

@sevi-kun sevi-kun commented Jun 2, 2021

added --content-disposition to $wget_opts for keeping the remote filename when downloading with a Permanent link to latest version
This is usefull if you want to download the latest version of papermc with a perma link like:
https://papermc.io/api/v1/paper/1.16.5/latest/download

Hey. This is my first pull request. I have no clue if what I am doing right now is ok or not. But I would realy like this parameter so I can script and use PaperMC properly.

added --content-disposition to $wget_opts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant