aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-06-12 04:27:29 +0530
committerLibravatar GitHub <noreply@github.com>2022-06-11 22:57:29 +0000
commitd3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06 (patch)
treefe691e6ec9201e7a000821b9f1e345850ab970fb /src/index.ts
parentFeature: Add color picker component for accent color setting (#228) (diff)
downloadferdium-app-d3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06.tar.gz
ferdium-app-d3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06.tar.zst
ferdium-app-d3c7f121e593b0cab5ae6ea1b1c4f0a42008ea06.zip
Remove integration with sentry (fixes #233) (#234)
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts6
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');
93const retrieveSettingValue = (key: string, defaultValue: boolean) => 93const retrieveSettingValue = (key: string, defaultValue: boolean) =>
94 ifUndefinedBoolean(settings.get(key), defaultValue); 94 ifUndefinedBoolean(settings.get(key), defaultValue);
95 95
96if (retrieveSettingValue('sentry', DEFAULT_APP_SETTINGS.sentry)) {
97 // eslint-disable-next-line global-require
98 require('./sentry');
99}
100
101const liftSingleInstanceLock = retrieveSettingValue( 96const 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