Support for Apple Silicon via node 15, electron 11.1 update

This commit is contained in:
pinpins
2020-12-23 22:45:47 +02:00
parent 56be0a1085
commit e87f6e7af0
34 changed files with 10050 additions and 9526 deletions

View File

@@ -1,4 +1,4 @@
const { init } = process.type === 'main' ? require('@sentry/electron/dist/main') : require('@sentry/electron/dist/renderer')
const { init } = String(process.type) === 'main' ? require('@sentry/electron/dist/main') : require('@sentry/electron/dist/renderer')
import * as isDev from 'electron-is-dev'

View File

@@ -51,11 +51,12 @@ export class Window {
height: 600,
title: 'Terminus',
minWidth: 400,
minHeight: 300,
minHeight: 300,
webPreferences: {
nodeIntegration: true,
preload: path.join(__dirname, 'sentry.js'),
backgroundThrottling: false,
enableRemoteModule: true,
},
frame: false,
show: false,