pioneers/dawn-v0

Add automatic version checking

Opened this issue · 2 comments

Implement some system for Dawn to automatically check its version vs the latest version (which must be somehow obtained from online), and display an alert if there is a newer version available.

Probably have some variable in dawn with current version number (From title?), then check with wget/curl version of package.json on Github.

When webpack bundles the code, it replaces any occurrences of VERSION with the version number in the package.json file. So you can just use VERSION and it will work in the code. See https://github.com/pioneers/daemon/blob/develop/dawn/js/components/DNav.js#L50