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

Fix RELEASES downloading from private repo #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anthrax63
Copy link

In the previous version, the RELEASES file was downloaded using the browser download url, which gives 404 for private repositories.

@vercel
Copy link

vercel bot commented Mar 16, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/hazel/HXK18qcoW6NSF9yBzNbwdjnfAUj3
✅ Preview: https://hazel-git-fork-aggregion-master.vercel.sh

@anthrax63
Copy link
Author

Also i added ability to download any file from latest release. It is needed for Squirrel Windows to download nupkg file via proxy.

@tab1293
Copy link

tab1293 commented Apr 22, 2021

@anthrax63 nice work!

I needed these changes in order to have a functioning auto updater for our Windows build. These changes should be merged to master!

@Deliaz
Copy link

Deliaz commented Oct 1, 2021

Any updates?

gransell added a commit to iconik-io/hazel that referenced this pull request Nov 24, 2021
matches[0],
`${this.config.url}/download/nupkg?update=true`
`${this.config.url}/download/latest/${matches[0]}`
Copy link

@Juned-H2 Juned-H2 Feb 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change
${this.config.url}/download/latest/${matches[0]}
to
https://${this.config.url}/download/latest/${matches[0]}

To avoid/fix Squirrel 4294967295 error: System.Exception: Filename can either be an absolute HTTP[s] URL, or a file name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm that PR works. Any plans on merging it to master?

rastiqdev added a commit to AnimeoTV/hazel that referenced this pull request Jul 4, 2023
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.

5 participants