You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated to Discord Development 0.0.61, and now OpenAsar crashes on startup. Behavior does not occur without OpenAsar or with Shelter.
Cause:
(node:29078) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'getDesktopTTI')
at launchMainAppWindow (/home/sir/.config/discorddevelopment/0.0.61/modules/discord_desktop_core/core.asar/app/mainScreen.js:344:31)
at Object.init (/home/sir/.config/discorddevelopment/0.0.61/modules/discord_desktop_core/core.asar/app/mainScreen.js:931:3)
at Object.startup (/home/sir/.config/discorddevelopment/0.0.61/modules/discord_desktop_core/core.asar/app/index.js:91:14)
at startCore (/opt/discord-development/resources/app.asar/bootstrap.js:1:1561)
at EventEmitter.<anonymous> (/opt/discord-development/resources/app.asar/bootstrap.js:1:2693)
at Object.onceWrapper (node:events:632:28)
at EventEmitter.emit (node:events:518:28)
at launchMain (/opt/discord-development/resources/app.asar/splash/index.js:1:834)
at EventEmitter.<anonymous> (/opt/discord-development/resources/app.asar/splash/index.js:1:3408)
at EventEmitter.emit (node:events:518:28)
at emitUnhandledRejectionWarning (node:internal/process/promises:298:15)
at warnWithErrorCodeUnhandledRejectionsMode (node:internal/process/promises:406:5)
at processPromiseRejections (node:internal/process/promises:470:17)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(node:29078) TypeError: Cannot read properties of undefined (reading 'getDesktopTTI')
at launchMainAppWindow (/home/sir/.config/discorddevelopment/0.0.61/modules/discord_desktop_core/core.asar/app/mainScreen.js:344:31)
at Object.init (/home/sir/.config/discorddevelopment/0.0.61/modules/discord_desktop_core/core.asar/app/mainScreen.js:931:3)
at Object.startup (/home/sir/.config/discorddevelopment/0.0.61/modules/discord_desktop_core/core.asar/app/index.js:91:14)
at startCore (/opt/discord-development/resources/app.asar/bootstrap.js:1:1561)
at EventEmitter.<anonymous> (/opt/discord-development/resources/app.asar/bootstrap.js:1:2693)
at Object.onceWrapper (node:events:632:28)
at EventEmitter.emit (node:events:518:28)
at launchMain (/opt/discord-development/resources/app.asar/splash/index.js:1:834)
at EventEmitter.<anonymous> (/opt/discord-development/resources/app.asar/splash/index.js:1:3408)
at EventEmitter.emit (node:events:518:28)
It seems this is caused by Discord code calling _bootstrapModules.analytics.getDesktopTTI().trackMainWindowCreated(); it seems the stubbed analytics returns undefined for getDesktopTTI(), causing the crash. Looks like you'll need to change how you disable analytics.
Running Arch Linux, X11 with DWM, zen kernel 6.12.8
The text was updated successfully, but these errors were encountered:
node:251898) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'getDesktopTTI')
at launchMainAppWindow (/home/voidptr_t/.config/discordcanary/0.0.558/modules/discord_desktop_core/core.asar/app/mainScreen.js:344:31)
at Object.init (/home/voidptr_t/.config/discordcanary/0.0.558/modules/discord_desktop_core/core.asar/app/mainScreen.js:932:3)
at Object.startup (/home/voidptr_t/.config/discordcanary/0.0.558/modules/discord_desktop_core/core.asar/app/index.js:91:14)
at startCore (/opt/discord-canary/resources/_app.asar/bootstrap.js:1:1561)
at EventEmitter.<anonymous> (/opt/discord-canary/resources/_app.asar/bootstrap.js:1:2693)
at Object.onceWrapper (node:events:632:28)
at EventEmitter.emit (node:events:518:28)
at launchMain (/opt/discord-canary/resources/_app.asar/splash/index.js:1:834)
at EventEmitter.<anonymous> (/opt/discord-canary/resources/_app.asar/splash/index.js:1:3408)
at EventEmitter.emit (node:events:518:28)
Updated to Discord Development 0.0.61, and now OpenAsar crashes on startup. Behavior does not occur without OpenAsar or with Shelter.
Cause:
It seems this is caused by Discord code calling
_bootstrapModules.analytics.getDesktopTTI().trackMainWindowCreated()
; it seems the stubbed analytics returnsundefined
forgetDesktopTTI()
, causing the crash. Looks like you'll need to change how you disable analytics.Running Arch Linux, X11 with DWM, zen kernel 6.12.8
The text was updated successfully, but these errors were encountered: