default version to package.json

This commit is contained in:
Danny Skubak 2018-07-02 16:33:38 -04:00
parent ecb9aca739
commit 20bc881c01
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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",