Package Details: discord-electron-openasar 0.0.53+827-1

Git Clone URL: https://aur.archlinux.org/discord-electron-openasar.git (read-only, click to copy)
Package Base: discord-electron-openasar
Description: Discord packaged with OpenAsar using system provided electron (v30) for increased security and performance
Upstream URL: https://discord.com
Keywords: discord discord-stable discordapp electron openasar
Licenses: custom
Conflicts: discord
Provides: discord
Submitter: SunRed
Maintainer: SunRed
Last Packager: SunRed
Votes: 6
Popularity: 0.119836
First Submitted: 2023-04-03 07:00 (UTC)
Last Updated: 2024-05-07 18:06 (UTC)

Dependencies (12)

Required by (21)

Sources (3)

Pinned Comments

SunRed commented on 2024-01-04 14:30 (UTC) (edited on 2024-01-04 14:30 (UTC) by SunRed)

Electron flags

These can be set additionally in ~/.config/discord-flags.conf (or wherever your config directory is). Lines can be commented using #.

Krisp noise suppression

In order for Krisp to work, it has to be patched first by removing the signature check of the Krisp binary. Install rizin, set PATCH_KRISP=true in ~/.config/discord.conf and restart your Discord client.

SunRed commented on 2023-04-19 19:58 (UTC)

If you run into problems (e.g. random segfaults) as I did when switching from the official client or the AUR versions using system Electron, make sure to remove all directories matching ~/.config/discord/*Cache and clean all Discord and Electron relevant directories in ~/.cache.

Latest Comments

1 2 3 Next › Last »

SunRed commented on 2024-04-21 08:47 (UTC)

Please mark the package out-of-date if the upstream version of Discord or OpenAsar is newer but not if you have problems updating your installation. State the issue or error you are facing instead of just writing that it does not work. Check that you don't have quickstart enabled for OpenAsar after a package update and if anything else in your environment causes issues. Your issue might not even be related to this package at all.

SunRed commented on 2024-04-16 22:08 (UTC)

@TipsyTheCat I couldn't reproduce the issue so far, even in a fresh virtual machine, but after investigating a bit, this problem should only occur if you just updated the package but enabled quickstart. This skips the entire update procedure and obviously doesn't work if an update has to be downloaded first. To fix this you might want to disable it before updating or set it to false in ~/.config/discord/settings.json. Or just remove/rename the file since it will be recreated on next launch.

TipsyTheCat commented on 2024-04-15 20:56 (UTC)

having the same issue as @painfularch but the electron version is 29.0.1-1

SunRed commented on 2024-02-15 20:47 (UTC) (edited on 2024-02-15 20:47 (UTC) by SunRed)

@shinnova Please make sure you actually build the newest version of this package as it is fixed with this change. Even if the newest electron28 version is 28.2.2-1 it also works with your old version (I assume you run Manjaro).

shinnova commented on 2024-02-15 14:05 (UTC)

I still get the same error as @painfularch when using electron28 version 28.2.1-1. Works fine on 28.2.0-1

SunRed commented on 2024-02-11 06:02 (UTC)

@leoshijb Should be fixed now.

leoshijb commented on 2024-02-10 13:33 (UTC)

Doesn't launch on latest version of electron28:

Just tested it, not working if electron28 is upgraded to 28.2.1-1 or later.

Can launch successfully on electron28-28.2.0-1.

painfularch commented on 2024-02-07 22:33 (UTC)

Doesn't launch on latest version of electron28:

[~]$ discord
[OpenAsar > Init] OpenAsar nightly-4f264d8
App threw an error during load
Error: ENOENT: no such file or directory, open '/usr/lib/electron28/resources/build_info.json'
    at Object.openSync (node:fs:603:3)
    at Object.func [as openSync] (node:electron/js2c/node_init:2:2214)
    at Object.readFileSync (node:fs:471:35)
    at t.readFileSync (node:electron/js2c/node_init:2:9771)
    at Object.<anonymous> (/usr/lib/discord/app.asar/utils/buildInfo.js:1:41)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at Module._load (node:internal/modules/cjs/loader:967:12)
    at c._load (node:electron/js2c/node_init:2:13672)

SunRed commented on 2024-01-04 14:30 (UTC) (edited on 2024-01-04 14:30 (UTC) by SunRed)

Electron flags

These can be set additionally in ~/.config/discord-flags.conf (or wherever your config directory is). Lines can be commented using #.

Krisp noise suppression

In order for Krisp to work, it has to be patched first by removing the signature check of the Krisp binary. Install rizin, set PATCH_KRISP=true in ~/.config/discord.conf and restart your Discord client.