Package Details: discord-development 0.0.45-1

Git Clone URL: https://aur.archlinux.org/discord-development.git (read-only, click to copy)
Package Base: discord-development
Description: All-in-one voice and text chat for gamers that's free and secure.
Upstream URL: https://discord.com/
Licenses: custom
Submitter: Moire
Maintainer: Moire (Proudmuslim)
Last Packager: Moire
Votes: 2
Popularity: 0.000000
First Submitted: 2020-08-12 18:10 (UTC)
Last Updated: 2024-11-08 03:44 (UTC)

Pinned Comments

Moire commented on 2024-08-26 00:56 (UTC)

I highly recommend users install OpenAsar, a FOSS alternative to the Electron asar app currently used by Discord. It's smaller, improves performance, removes some tracking, adds customization, and also allows skipping otherwise required host updates. You may also do the latter without OpenAsar by adding "SKIP_HOST_UPDATE": true to ~/.config/discorddevelopment/settings.json.

Latest Comments

1 2 Next › Last »

Moire commented on 2024-08-26 00:56 (UTC)

I highly recommend users install OpenAsar, a FOSS alternative to the Electron asar app currently used by Discord. It's smaller, improves performance, removes some tracking, adds customization, and also allows skipping otherwise required host updates. You may also do the latter without OpenAsar by adding "SKIP_HOST_UPDATE": true to ~/.config/discorddevelopment/settings.json.

Moire commented on 2024-05-08 03:05 (UTC)

@slashinfty unfortunately this appears to be a discord problem :( This package only launches discord and it appears to have done that properly, I've never seen discord segfault before. Unfortunately I don't know that I can help you. You may want to try again next time discord updates.

slashinfty commented on 2024-05-04 17:48 (UTC)

Discord is currently crashing when attempting to launch:

splashScreen: SPLASH_SCREEN_READY
splashScreen.webContentsSend: SPLASH_SCREEN_QUOTE SPLASH_SCREEN_QUOTE [ 'Hold Tight — Loading Discord' ]
2024-05-04T17:45:52.463Z [Modules] No updates to install
splashScreen: no-pending-updates
2024-05-04T17:45:52.464Z [Modules] Checking for host updates.
splashScreen: checking-for-updates
splashScreen.updateSplashState checking-for-updates checking-for-updates {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'checking-for-updates' } ]
blackbox: 2024-05-04T17:45:52.562Z 6 ✅ webContents.did-finish-load web1
2024-05-04T17:45:52.578Z [Modules] Host is up to date.
2024-05-04T17:45:52.579Z [Modules] Checking for module updates at https://discord.com/api/modules/development/versions.json
2024-05-04T17:45:52.583Z [Modules] No module updates available.
splashScreen: update-check-finished true 0 false
CDM completed with status (old updater): undefined
splashScreen.launchMainWindow: false
Optional module ./ElectronTestRpc was not included.
splashScreen.updateSplashState launching launching {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching' } ]
blackbox: 2024-05-04T17:45:52.724Z 7 ✅ webContents.created web2 ""
blackbox: 2024-05-04T17:45:52.733Z 8 ✅ window.created win2 "Discord"
/usr/bin/discord-development: line 19: 10965 Segmentation fault      (core dumped) /opt/discord-development/DiscordDevelopment "${EXTRA_FLAGS}"
[11003:0100/000000.688517:ERROR:broker_posix.cc(41)] Recvmsg error: Connection reset by peer (104)

Moire commented on 2023-11-18 00:12 (UTC)

@Tortillas-IT: fixed. Thank you.

Tortillas-IT commented on 2023-11-17 16:23 (UTC)

one or more package didn't pass the vadility control, any fix?

Moire commented on 2023-08-28 23:06 (UTC)

@TheArcadeBrony: I did not get an email for your comment, so I apologize for the /extremely/ late response. After testing on my own system, I've added the script to the package.

TheArcaneBrony commented on 2023-01-06 08:28 (UTC) (edited on 2023-01-06 08:52 (UTC) by TheArcaneBrony)

Could the wrapper script be updated? Here's a version that accounts for vaapi/ozone on wayland, though it has not been tested under wayland yet, since I don't have a wayland-capable machine.

Update: it has been tested on wayland, and appears to work.

#!/usr/bin/env sh
EXTRA_FLAGS="$@"

#Check if XDG_SESSION_TYPE is set
if [ -z "$XDG_SESSION_TYPE" ]
then
  echo "XDG_SESSION_TYPE is not set, cannot apply extra flags"
elif [ "$XDG_SESSION_TYPE" == "x11" ]
then
  EXTRA_FLAGS="--no-sandbox ${EXTRA_FLAGS}"
elif [ "$XDG_SESSION_TYPE" == "wayland" ]
then
  EXTRA_FLAGS="--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,WebrtcPipewireCapturer,UseOzonePlatform --ozone-platform=wayland ${EXTRA_FLAGS}"
else
  echo "Unknown XDG_SESSION_TYPE: ${XDG_SESSION_TYPE}, cannot apply extra flags"
fi

echo "Passing extra electron flags: ${EXTRA_FLAGS}"
/opt/discord-development/DiscordDevelopment "${EXTRA_FLAGS}"