diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-06-12 04:27:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 22:57:29 +0000 |
commit | d3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06 (patch) | |
tree | fe691e6ec9201e7a000821b9f1e345850ab970fb /src/index.ts | |
parent | Feature: Add color picker component for accent color setting (#228) (diff) | |
download | ferdium-app-d3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06.tar.gz ferdium-app-d3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06.tar.zst ferdium-app-d3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06.zip |
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/index.ts b/src/index.ts index fad6b9b69..df044ab7e 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -93,11 +93,6 @@ const proxySettings = new Settings('proxy'); | |||
93 | const retrieveSettingValue = (key: string, defaultValue: boolean) => | 93 | const retrieveSettingValue = (key: string, defaultValue: boolean) => |
94 | ifUndefinedBoolean(settings.get(key), defaultValue); | 94 | ifUndefinedBoolean(settings.get(key), defaultValue); |
95 | 95 | ||
96 | if (retrieveSettingValue('sentry', DEFAULT_APP_SETTINGS.sentry)) { | ||
97 | // eslint-disable-next-line global-require | ||
98 | require('./sentry'); | ||
99 | } | ||
100 | |||
101 | const liftSingleInstanceLock = retrieveSettingValue( | 96 | const liftSingleInstanceLock = retrieveSettingValue( |
102 | 'liftSingleInstanceLock', | 97 | 'liftSingleInstanceLock', |
103 | false, | 98 | false, |
@@ -218,7 +213,6 @@ const createWindow = () => { | |||
218 | nodeIntegration: true, | 213 | nodeIntegration: true, |
219 | contextIsolation: false, | 214 | contextIsolation: false, |
220 | webviewTag: true, | 215 | webviewTag: true, |
221 | preload: join(__dirname, 'sentry.js'), | ||
222 | }, | 216 | }, |
223 | }); | 217 | }); |
224 | 218 | ||