From ef164b11ec442205ea3e45670f4c51363e1e1287 Mon Sep 17 00:00:00 2001 From: LeenkxTeam Date: Fri, 24 Jan 2025 06:29:17 +0000 Subject: [PATCH] Disable telemetry --- src/renderer/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/renderer/main.js b/src/renderer/main.js index 197dfe1..aceeed5 100644 --- a/src/renderer/main.js +++ b/src/renderer/main.js @@ -29,7 +29,7 @@ const React = require('react') const ReactDOM = require('react-dom') const config = require('../config') -const telemetry = require('./lib/telemetry') +// const telemetry = require('./lib/telemetry') const sound = require('./lib/sound') const TorrentPlayer = require('./lib/torrent-player') @@ -70,13 +70,13 @@ function onState (err, _state) { state = window.state = _state window.dispatch = dispatch - telemetry.init(state) + // telemetry.init(state) sound.init(state) // Log uncaught JS errors - window.addEventListener( - 'error', (e) => telemetry.logUncaughtError('window', e), true /* capture */ - ) + //window.addEventListener( + // 'error', (e) => telemetry.logUncaughtError('window', e), true /* capture */ + //) // Create controllers controllers = {