Skip to content

Commit

Permalink
fix/ typescript issues
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegris committed Jul 14, 2017
1 parent 7e58717 commit bb0a6ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as path from 'path';

let win, serve;
const args = process.argv.slice(1);
serve = args.some(val => val === "--serve");
serve = args.some(val => val === '--serve');

if (serve) {
require('electron-reload')(__dirname, {
Expand All @@ -13,8 +13,8 @@ if (serve) {

function createWindow() {

let electronScreen = screen;
let size = electronScreen.getPrimaryDisplay().workAreaSize;
const electronScreen = screen;
const size = electronScreen.getPrimaryDisplay().workAreaSize;

// Create the browser window.
win = new BrowserWindow({
Expand Down Expand Up @@ -67,5 +67,5 @@ try {

} catch (e) {
// Catch Error
//throw e;
// throw e;
}

0 comments on commit bb0a6ab

Please sign in to comment.