Skip to content
This repository was archived by the owner on Sep 29, 2020. It is now read-only.

Commit e76eaca

Browse files
author
Nick Schmidt
committed
fix file uploads
1 parent 6c0f049 commit e76eaca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

browser.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ const electron = require('electron');
33
const config = require('./config');
44
const settingsMenuSelector = '.Topbar-settingsMenuButton';
55

6+
// Host.prototype.ufuThatExceptionHandlerActive = function() {};
7+
68
const { ipcRenderer } = electron;
79

810
function openSidebar() {

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function createMainWindow() {
5757
maximizable: false,
5858
fullscreenable: false,
5959
webPreferences: {
60-
nodeIntegration: true,
60+
nodeIntegration: false,
6161
preload: path.join(__dirname, 'browser.js'),
6262
plugins: true
6363
}

0 commit comments

Comments
 (0)