Package Details: discord-electron-openasar 0.0.49+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 (v29) 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.20
First Submitted: 2023-04-03 07:00 (UTC)
Last Updated: 2024-04-09 18:25 (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-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.

SunRed commented on 2023-10-31 18:32 (UTC)

After looking at it again, curl is actually not part of base and base-devel, so it actually has to be a make dependency.

SunRed commented on 2023-10-31 12:19 (UTC)

@brody true, but curl is also used explicitly in the prepare function so I rather let it be.

brody commented on 2023-10-31 12:15 (UTC)

@SunRed thanks for the quick update. BTW you can remove curl from the makedepends array as it part of base or base-devel.