GooseMod / OpenAsar

Open-source alternative of Discord desktop's app.asar
https://openasar.dev
GNU Affero General Public License v3.0
2.52k stars 67 forks source link

Discord crashes on Mac after applying latest OpenAsar package #197

Open Jakub41 opened 1 month ago

Jakub41 commented 1 month ago

Hello,

I downloaded the OpenAsar and applied inside my MAC I9 2016 discord resources folder. Then I tried to start it up but it is crashing immediately.

How can this be fixed?

Info: stable 331573 (1886297) Host 0.0.321 x64 Build Override: N/A macOS 15 (24.0.0)

I tried also to reinstall Discord and updated it and apply again but keep crashes.

Thank you for the help :)

LunarN0v4 commented 1 month ago

This is happening on Arch Linux too.
Discord version:

stable 332553 (dc000da) Host 0.0.70 x64 Build Override: N/A Linux 64-bit (6.11.1-arch1-1)
Vencord 832e874c
Electron 32.0.0
Chromium 128.0.6613.36
douira commented 1 month ago

Can confirm as well

verygenericname commented 1 month ago

Crashes for me too on my mac

VanillaCold commented 1 month ago

Happening for me too - I'm using Nobara Linux.

GhostIsBeHere commented 1 month ago

Can confirm on M2 sillicon mac (15.0.1)

SoCuul commented 1 month ago

Same here, on sonoma

ViRb3 commented 1 month ago

Strangely enough, opening it via Terminal on macOS 15 Sonoma still works.

/Applications/Discord.app/Contents/MacOS/Discord

Ale-su commented 1 month ago

same here on MacOS 15.0.1 and M1 pro

Discord info: stable 333428 (3995449) Host 0.0.321 arm64 Build Override: N/A macOS 15 (24.0.0)

HoosierTransfer commented 1 month ago

Also crashes on linux

LunarN0v4 commented 1 month ago

Strangely enough, opening it via Terminal on macOS 15 Sonoma still works.

/Applications/Discord.app/Contents/MacOS/Discord

Same on Linux (version and distro available in my other comment), no errors observed in terminal launch either from OpenAsar.
Is there any way to debug this without a terminal launch?

twoexem commented 1 month ago

Same issue here, running Arch Linux with Discord 0.0.70. This issue only appeared after I updated Discord to version 0.0.70.

SoCuul commented 1 month ago

@CanadaHonk is there a known fix for this?

SunRed commented 4 weeks ago

This issue seems to be resolved with Discord 0.0.71. Previously it crashed for me if I launched the client using the desktop file but not via terminal for some reason. Apart from the various Content-Security-Policy errors that now occur with the new version there is still a big node error that might need attention:

(node:140579) UnhandledPromiseRejectionWarning: Error: An object could not be cloned.
    at IpcRendererInternal.send (node:electron/js2c/renderer_init:2:11317)
    at IpcRendererInternal.<anonymous> (node:electron/js2c/renderer_init:2:10812)
    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:140579) Error: An object could not be cloned.
    at IpcRendererInternal.send (node:electron/js2c/renderer_init:2:11317)
    at IpcRendererInternal.<anonymous> (node:electron/js2c/renderer_init:2:10812)
Jakub41 commented 4 weeks ago

Can confirm on my Mac that after last Discord update I don't have crashes

ewof commented 4 weeks ago

yea im not getting crashes anymore either