Skip to content

OpenAsar makes Discord (flatpak) unable to open on Linux #244

Description

@PaulRicharte

On Fedora 44 with Gnome using the latest Discord flatpak, Discord fails to open when OpenAsar is installed.
Here's the end of the output log :

[OpenAsar > BuildInfo] {
releaseChannel: 'stable',
sentryDist: 'stable-linux-x64',
sentryRelease: 'discord-desktop-195d6792dfb9fdaa1380c959f2f57f6cb46518bf',
version: '1.0.141',
newUpdater: false,
localModulesRoot: '/app/discord/modules'
}
Gtk-Message: 20:50:37.913: Failed to load module "pk-gtk-module"
Gtk-Message: 20:50:37.914: Failed to load module "pk-gtk-module"
[7:0608/205037.922021:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[7:0608/205037.922075:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
(node:7) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, mkdir '/app/discord/modules/pending'
at Object.mkdirSync (node:fs:1363:26)
at mkdir (/app/discord/resources/_app.asar/updater/moduleUpdater.js:1:297)
at exports.init (/app/discord/resources/_app.asar/updater/moduleUpdater.js:1:1388)
at startUpdate (/app/discord/resources/_app.asar/bootstrap.js:1:3065)
(Use Discord --trace-warnings ... to show where the warning was created)
(node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
WARNING: radv is not a conformant Vulkan implementation, testing use only.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions