Skip to content
Permalink
Browse files

chore(desktop): Upgrade electron and electron-builder

  • Loading branch information...
cmgustavo committed Oct 17, 2019
1 parent 6902d42 commit 0d16ff0de68946c7b44ae2cf62a58f9377cd4022
Showing with 10 additions and 4 deletions.
  1. +4 −1 electron/main.js
  2. +2 −2 package.json
  3. +4 −1 src/pages/integrations/coinbase/coinbase.ts
@@ -26,7 +26,10 @@ function createWindow() {
minWidth: 400,
maxWidth: 800,
minHeight: 650,
show: false
show: false,
webPreferences: {
nodeIntegration: true
}
});

// and load the index.html of the app.
@@ -186,8 +186,8 @@
"@types/prismjs": "1.9.1",
"adm-zip": "0.4.13",
"codecov": "3.1.0",
"electron": "3.0.16",
"electron-builder": "20.40.2",
"electron": "4.2.12",
"electron-builder": "21.2.0",
"fs-extra": "5.0.0",
"ionic": "4.10.4",
"ionic-mocks": "1.2.1",
@@ -139,7 +139,10 @@ export class CoinbasePage {
const win = new BrowserWindow({
alwaysOnTop: true,
center: true,
webPreferences: { nodeIntegration: false }
webPreferences: {
contextIsolation: false,
nodeIntegration: false
}
});
win.once('ready-to-show', () => {
win.show();

0 comments on commit 0d16ff0

Please sign in to comment.
You can’t perform that action at this time.