From 252c17b7f672330a13e61660ae336c7d0f8823ec Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Wed, 17 Oct 2018 15:52:00 -0300 Subject: [PATCH] :v: --- electron/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electron/main.js b/electron/main.js index e315fabf..c2314389 100644 --- a/electron/main.js +++ b/electron/main.js @@ -15,6 +15,8 @@ const updater = require('./updater'); var fs = require("fs"); const path = require('path'); +if ( isDev ) app.getVersion = function() { return require('../package.json').version; }; // FOR DEV ONLY, BECAUSE IN DEV RETURNS ELECTRON'S VERSION + // Initial Config const config = new Config({ defaults: {