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: Homepage no longer downloaded on script #6090

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

Conversation

notPlancha
Copy link

@notPlancha notPlancha commented Aug 5, 2024

Currently checkver.ps1 GETs the homepage, even if script is specified, and does nothing with it. This becomes an issue when the homepage doesn't return a 2xx, like a timeout, or a 403 Forbiden (like cloudflare does). I don't see any reason this is the case, so I wrapped this logic in an if/else. I am not sure if this is the best option, or if this is breaking at all (I don't think it is but I'm not completly sure)

fixes #5704.

PS: I'm not sure if I'm supposed to create the PR to the master branch or the develop branch (CONTRIBUTING.md isn't really clear on that). Right now they're synced so it shouldn't be an issue.

@xrgzs
Copy link

xrgzs commented Nov 11, 2024

I encountered this problem recently. I don't understand how this is designed, which means that the app will not be updated when its website runs away? Hope to fix this as soon as possible.

@xrgzs
Copy link

xrgzs commented Nov 11, 2024

@niheaven @chawyehsu

@notPlancha
Copy link
Author

notPlancha commented Nov 14, 2024

This was not targeting develop, #6230 now is. I also added an example there.

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.

[Bug] homepage should not be downloaded when checkver script is specified
2 participants