Skip to content

Commit

Permalink
Fixed format and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpigeon committed Feb 28, 2021
1 parent ffa067e commit 4dc6fa0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/main.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 5 additions & 3 deletions keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit 4dc6fa0

Please sign in to comment.