Package Details: discord-electron-openasar 0.0.74+830-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 (v33) 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: 10
Popularity: 0.30
First Submitted: 2023-04-03 07:00 (UTC)
Last Updated: 2024-11-12 23:00 (UTC)

Dependencies (12)

Required by (25)

Sources (4)

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.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

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.

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.

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

@brody Apparently unzip was installed by another package that I didn't see first when trying it with a KDE installation for running it with an x server/compositor in the vm. I see it's used for installation and updates as can also be seen on github. If it's not installed a dialog pops up. The official Discord asar seems to use an embedded library for extracting the archive.
An update is coming up shortly including the dependency.

Cheers.

brody commented on 2023-10-31 10:55 (UTC)

@SunRed Ok, my comment was not exact. The installation works but the first start does not. It was canceled during the starting process with a message that unzip was not found.

I'm building the AUR packages fundamentally in a clean chroot environment as described in the Archwiki. And yes, base-devel is installed as described there. There is not an issue to build the package and not to install it. I assume that the openasar part is the reason why there is cancelling the start process. Kind regards

SunRed commented on 2023-10-31 10:13 (UTC)

@brody Before building any package from the AUR, make sure you have the base-devel package group/meta package installed. I've built, installed and ran it just for you in a bare virtual machine with just the minimum packages installed by archinstall and there was no dependency error. I usually test all my packages in a clean chroot and not in a full virtual machine but that doesn't seem to be the issue.

brody commented on 2023-10-31 09:00 (UTC)

On a fresh archlinux system the package is not installable. There is a missing dependency of unzip.

SunRed commented on 2023-10-17 16:45 (UTC)

@StarterX4 Try cleaning the cache as mentioned in the pinned comment, or the entire ~/.config/discord directory (you'll lose your session) first, as well as try to build the package in a chroot if something polluted the build environment.