Disable telemetry

This commit is contained in:
LeenkxTeam 2025-01-24 06:29:17 +00:00
parent 0f916280f6
commit ef164b11ec

View File

@ -29,7 +29,7 @@ const React = require('react')
const ReactDOM = require('react-dom') const ReactDOM = require('react-dom')
const config = require('../config') const config = require('../config')
const telemetry = require('./lib/telemetry') // const telemetry = require('./lib/telemetry')
const sound = require('./lib/sound') const sound = require('./lib/sound')
const TorrentPlayer = require('./lib/torrent-player') const TorrentPlayer = require('./lib/torrent-player')
@ -70,13 +70,13 @@ function onState (err, _state) {
state = window.state = _state state = window.state = _state
window.dispatch = dispatch window.dispatch = dispatch
telemetry.init(state) // telemetry.init(state)
sound.init(state) sound.init(state)
// Log uncaught JS errors // Log uncaught JS errors
window.addEventListener( //window.addEventListener(
'error', (e) => telemetry.logUncaughtError('window', e), true /* capture */ // 'error', (e) => telemetry.logUncaughtError('window', e), true /* capture */
) //)
// Create controllers // Create controllers
controllers = { controllers = {