From a5873758fb16a2766de10fc8a270d4bd9ac54cbc Mon Sep 17 00:00:00 2001 From: Danny Skubak Date: Tue, 3 Jul 2018 13:52:11 -0400 Subject: [PATCH] Use version from package.json (#2000) --- common/config/data.tsx | 4 +--- package.json | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/common/config/data.tsx b/common/config/data.tsx index 6405dacf..01fa50ae 100644 --- a/common/config/data.tsx +++ b/common/config/data.tsx @@ -9,9 +9,7 @@ export const languages = require('./languages.json'); export const discordURL = 'https://discord.gg/VSaTXEA'; // Displays in the footer -const VERSION_ELECTRON = packageJson['electron-version']; -const VERSION_WEB = packageJson.version; -export const VERSION = process.env.BUILD_ELECTRON ? VERSION_ELECTRON : VERSION_WEB; +export const VERSION = packageJson.version; export const N_FACTOR = 8192; // Bricks the app once this date has been exceeded. Remember to update these 2 diff --git a/package.json b/package.json index d721909a..412b05af 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "MyCrypto", "author": "MyCryptoHQ", "version": "1.1.0", - "electron-version": "1.0.0-alpha.6", "main": "main.js", "description": "MyCrypto web and electron app", "repository": "https://github.com/MyCryptoHQ/MyCrypto",