Fsnotes: [REQ] Check for updates

Created on 9 Nov 2018  Â·  5Comments  Â·  Source: glushchenko/fsnotes

Sparkle can work with GitHub releases to provide an in-app update mechanism.

request

Most helpful comment

I reckon if people want an auto-updating FSNotes they should buy it from the MAS.

All 5 comments

I reckon if people want an auto-updating FSNotes they should buy it from the MAS.

@jeff-h very good point

but what about those of us on the bleeding edge? maybe just a gentle prod and open the latest release page in browser?

@gingerbeardman That would be neat. There's more to this than meets the eye though eg the code would have to understand semver. Or I guess it could go just by date. I have written some Swift code in the past that checks Github for a new release of a project but it ended up pretty involved if I recall correctly. It fetched the Github JSON release feed and checked if a newer version was found, which involved semver interpretation, JSON-parsing etc.

EDIT: or a JSON file could be made available at some URL to hold the latest release info (probably hosted on Github pages?) — similar to how Sparkle does it. It could be updated manually or via an Xcode build script.

Could we not parse https://github.com/glushchenko/fsnotes/releases.atom (XML) for the first entry and compare?

My workaround: manually choose Help > FSNotes Help to get to GitHub and then click Releases

😕

Was this page helpful?
0 / 5 - 0 ratings