Skip to content

Commit

Permalink
Merge pull request #231 from open-source-labs/release
Browse files Browse the repository at this point in the history
Updated electron-builder settings
  • Loading branch information
texpatnyc authored Aug 14, 2019
2 parents 00f1fd5 + e1f5530 commit 336da1c
Show file tree
Hide file tree
Showing 22 changed files with 17 additions and 540 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
10 changes: 4 additions & 6 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
// Allow self-signing HTTPS over TLS
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;

// Import parts of electron to use
// app - Control your application's event lifecycle
// ipcMain - Communicate asynchronously from the main process to renderer processes
const { app, BrowserWindow, TouchBar, ipcMain } = require('electron');
const path = require('path');
const url = require('url');
//---------------------------------------------
//This allows electron to spin up this server to localhost:7000 when the app starts up
require("./httpserver")
//---------------------------------------------
// This allows electron to spin up this server to localhost:7000 when the app starts up
require('./httpserver');
// Import Auto-Updater- Swell will update itself
const { autoUpdater } = require('electron-updater');
const log = require('electron-log');
// TouchBarButtons are our nav buttons(ex: Select All, Deselect All, Open Selected, Close Selected, Clear All)
const { TouchBarButton, TouchBarSpacer } = TouchBar;

// // configure logging
// configure logging
autoUpdater.logger = log;
autoUpdater.logger.transports.file.level = 'info';
log.info('App starting...');
Expand Down
Loading

0 comments on commit 336da1c

Please sign in to comment.