having the same issue as @painfularch but the electron version is 29.0.1-1
Search Criteria
Package Details: discord-electron-openasar 0.0.95+834-1
Package Actions
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 (v36) 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: | 12 |
Popularity: | 0.82 |
First Submitted: | 2023-04-03 07:00 (UTC) |
Last Updated: | 2025-05-19 19:12 (UTC) |
Dependencies (12)
- electron36 (electron36-binAUR)
- libxss
- unzip (unzip-natspecAUR, unzip-zstdAUR, unzip-bsdunzip-symlinkAUR, unzip-pAUR)
- asar (make)
- curl (curl-gitAUR, curl-c-aresAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogenAUR, nodejs-lts-iron, nodejs-lts-jod) (make)
- libappindicator-gtk3 (optional) – Systray indicator support
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – Pulseaudio support
- python-capstone (optional) – Required for Krisp patcher
- python-pyelftools (python-pyelftools-gitAUR) (optional) – Required for Krisp patcher
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR) (optional) – Open files
Required by (28)
- beautiful-discord-git (requires discord)
- cia-accesa (requires discord)
- clonehero-ptb (requires discord) (optional)
- devbook-bin (requires discord)
- discordrpc (requires discord) (optional)
- discordupdater (requires discord)
- equicord-hook (requires discord)
- horizonxi-launcher-bin (requires discord) (optional)
- jfcord-appimage (requires discord) (optional)
- mbcord-appimage (requires discord) (optional)
- moonlight-canary-bin (requires discord) (optional)
- moonlight-ptb-bin (requires discord) (optional)
- moonlight-stable-bin (requires discord) (optional)
- open-hexagon-git (requires discord) (optional)
- openasar-bin (requires discord) (optional)
- openasar-git (requires discord) (optional)
- openasar-install (requires discord)
- overlayed (requires discord) (optional)
- overlayed-bin (requires discord) (optional)
- overlayed-git (requires discord) (optional)
- plasticity-bin (requires discord) (optional)
- plasticity-bin-unstable (requires discord) (optional)
- premid (requires discord) (optional)
- premid-git (requires discord) (optional)
- premid-nightly (requires discord) (optional)
- remoteit-desktop-bin (requires discord)
- supertux-git (requires discord) (optional)
- xbox-xcloud (requires discord)
Sources (4)
TipsyTheCat commented on 2024-04-15 20:56 (UTC)
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-06-10 19:00 (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 the necessary optional dependencies, set PATCH_KRISP=true
in ~/.config/discord.conf
and restart your Discord client.
Please note that to know whether the Krisp binary was patched the script is run on every start of the client that results in slightly longer start times but has the advantage that the package does not have to be updated if Discord ever silently updates the binary between client updates over their modules api.
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.
Pinned Comments
SunRed commented on 2024-01-04 14:30 (UTC) (edited on 2024-06-10 19:00 (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 the necessary optional dependencies, set
PATCH_KRISP=true
in~/.config/discord.conf
and restart your Discord client.Please note that to know whether the Krisp binary was patched the script is run on every start of the client that results in slightly longer start times but has the advantage that the package does not have to be updated if Discord ever silently updates the binary between client updates over their modules api.