From 4dc6fa07c001c89ee6b8fb1f5588a5cc6d63d476 Mon Sep 17 00:00:00 2001 From: jdpigeon Date: Sat, 27 Feb 2021 17:53:42 -0800 Subject: [PATCH] Fixed format and bumped version --- app/main.dev.ts | 4 ++-- app/package.json | 2 +- keys.js | 8 +++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/main.dev.ts b/app/main.dev.ts index e8069ee9..e7f29739 100644 --- a/app/main.dev.ts +++ b/app/main.dev.ts @@ -102,9 +102,9 @@ const createWindow = async () => { } else { mainWindow.show(); mainWindow.focus(); - } + } // Force dev console open for debug - mainWindow.webContents.openDevTools() + mainWindow.webContents.openDevTools(); }); mainWindow.on('closed', () => { diff --git a/app/package.json b/app/package.json index d07f4fce..0d111268 100644 --- a/app/package.json +++ b/app/package.json @@ -1,7 +1,7 @@ { "name": "BrainWaves", "productName": "BrainWaves", - "version": "0.15.0-rc2", + "version": "0.15.0-rc3", "description": "EEG Desktop Application", "main": "./main.prod.js", "type": "module", diff --git a/keys.js b/keys.js index 00a1839b..ba6834c4 100644 --- a/keys.js +++ b/keys.js @@ -6,8 +6,10 @@ const PASSWORD = process.env.PASSWORD; const CLIENT_ID = process.env.CLIENT_ID; // Created through Cortex Apps page on Emotiv.com const CLIENT_SECRET = process.env.CLIENT_SECRET; // Created through Cortex Apps page on Emotiv.com const LICENSE_ID = process.env.LICENSE_ID; // Visible on My Account page of Emotiv.com - -const envVars = { USERNAME, PASSWORD, CLIENT_ID, CLIENT_SECRET, LICENSE_ID } -Object.keys(envVars).forEach(k => console.log(typeof envVars[k] === 'string')) + +const envVars = { USERNAME, PASSWORD, CLIENT_ID, CLIENT_SECRET, LICENSE_ID }; +Object.keys(envVars).forEach((k) => + console.log(typeof envVars[k] === 'string') +); module.exports = { USERNAME, PASSWORD, CLIENT_ID, CLIENT_SECRET, LICENSE_ID };