diff --git a/README.md b/README.md index cf36848..1f9f864 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ A desktop tool for Mac, Windows, and Linux made with Electron for viewing and exporting photo and video metadata online. +The most current stable build is **2.2.0**. +All of the builds (2.2.0 and later) can be found at [bit.ly/archermeta]. + To run the app as an executable: 1. Navigate to the "Packaged App" folder in this github. 2. Download and open the app using your current Operating System diff --git a/js/settings.js b/js/settings.js index f51606d..3d479aa 100644 --- a/js/settings.js +++ b/js/settings.js @@ -1,3 +1,6 @@ +const { version } = require('./package.json'); +var shell = require('electron').shell; + function clearSettings() { document.getElementById('fav-settings-wrapper').innerHTML = '' document.getElementById('csv-settings-wrapper').innerHTML = '' @@ -6,6 +9,13 @@ function clearSettings() { var database = electron.remote.getGlobal('sharedObj').db; function populate_settings_view(fields, favorite_fields, csv_fields) { + + document.getElementById('version').innerHTML = version + $('#github_link').click(function(event) { + event.preventDefault(); + shell.openExternal(this.href); + }); + var favwrapper = $("#fav-settings-wrapper") var csvwrapper = $("#csv-settings-wrapper") var options = "" diff --git a/sections/new.html b/sections/new.html index 445c662..0e4e57e 100644 --- a/sections/new.html +++ b/sections/new.html @@ -6,7 +6,7 @@