Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Auto update or at least new version detection #11

Closed
mbos opened this issue Mar 20, 2015 · 2 comments
Closed

Auto update or at least new version detection #11

mbos opened this issue Mar 20, 2015 · 2 comments
Assignees
Milestone

Comments

@mbos
Copy link
Owner

mbos commented Mar 20, 2015

No description provided.

@shaleh
Copy link
Contributor

shaleh commented Sep 8, 2015

Git API to the rescue here.

REST GET https://api.github.com/repos/mbos/Pass4Win/releases/latest

This gives you JSON details about the current release. Save id and tag_name. Compare them to current somehow. This detail is needed for the About details too so you will have it somewhere.

Is 'latest' newer than installed? If so

REST GET https://api.github.com/repos/mbos/Pass4Win/releases/<id>/assets

Here you want browser_download_url if you want to retrieve it.

None of these calls need to be authenticated just make a HTTP request.

@mbos mbos self-assigned this Sep 10, 2015
@mbos mbos added this to the Version 1.1 milestone Sep 10, 2015
mbos added a commit that referenced this issue Sep 18, 2015
@mbos
Copy link
Owner Author

mbos commented Sep 18, 2015

Solved with octiikit

@mbos mbos closed this as completed Sep 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants