BloodyMods / ServerStarter

MIT License
99 stars 62 forks source link

Fix Github Redirection Handling in Shell #31

Closed bossley9 closed 3 years ago

bossley9 commented 3 years ago

The Problem

Github now seems to redirect release links to an alternate url for downloading files. However, the current shell script installer does not take this into account.

The Solution

I added the -L redirection option to enable curl to follow redirects and download the correct jar file. This fixes https://github.com/BloodyMods/ServerStarter/issues/19.

BloodWorkXGaming commented 3 years ago

Thank you for the PR :)