diff --git a/CHANGELOG.md b/CHANGELOG.md index bd5a416..df9d387 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Splash screen - Edit icon next to sound/page names - Import REACTion and Flask v0.X.X projects +- Flask Pro active for imported legacy projects +- 14-day free trial of Flask Pro ### Changed diff --git a/index.js b/index.js index 9f855e5..cc7e46f 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,6 @@ const electron = require('electron'); const { app, BrowserWindow, dialog } = electron; const Splashscreen = require('@trodi/electron-splashscreen'); -//var client = require('electron-connect').client; app.on('ready', function() { const { width, height } = electron.screen.getPrimaryDisplay().workAreaSize; diff --git a/src/scripts/main.js b/src/scripts/main.js index 15f3543..b63ff79 100644 --- a/src/scripts/main.js +++ b/src/scripts/main.js @@ -2,6 +2,7 @@ const dialog = require('electron').remote.dialog; const app = require('electron').remote.app; const shell = require('electron').shell; const jetpack = require('fs-jetpack'); +require('dotenv').config(); const clock = require('./scripts/clock.js'); const colors = require('./scripts/colors'); @@ -85,7 +86,7 @@ $(document).ready(function() { console.log('Do you have a pro license?', proLicense); // Set production settings for updating and errors - if (process.env.DEV === false) { + if (process.env.DEV === 'false') { update.checkForUpdate(); window.onerror = function(msg, url, line, col, error) { var extra = !col ? '' : '\ncolumn: ' + col;