Skip to content

Commit

Permalink
Updated changelog, added env
Browse files Browse the repository at this point in the history
  • Loading branch information
brandoshizzle committed Sep 28, 2019
1 parent 53df774 commit 0cbdeec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion src/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0cbdeec

Please sign in to comment.