Package Details: discord-canary-electron-bin 0.0.475-1

Git Clone URL: https://aur.archlinux.org/discord-canary-electron-bin.git (read-only, click to copy)
Package Base: discord-canary-electron-bin
Description: Discord Canary (popular voice + video app) using the system provided electron for increased security and performance
Upstream URL: https://canary.discordapp.com
Keywords: discord discord-canary electron
Licenses: custom
Conflicts: discord-canary
Provides: discord-canary
Submitter: Kodehawa
Maintainer: Kodehawa (FivePB, Auxim)
Last Packager: Auxim
Votes: 35
Popularity: 0.008183
First Submitted: 2020-10-22 03:49 (UTC)
Last Updated: 2024-08-22 23:13 (UTC)

Dependencies (17)

Required by (9)

Sources (4)

Pinned Comments

Kodehawa commented on 2020-10-22 04:06 (UTC) (edited on 2024-01-04 20:06 (UTC) by Kodehawa)

A shoutout to https://aur.archlinux.org/packages/discord_arch_electron/ (use that one if you want stable instead of canary!) :p

This is just a PKGBUILD based on the original discord-canary PKGBUILD and the discord_arch_electron PKGBUILD to use with Canary instead.

Discord on the latest version uses Electron 22 by itself. Might be worth using the official version if that is what you're after.

!! As Electron 28 joined the official repos, I've pinned this to electron26 instead, as using Electron 28 results on a crash at startup. If it ever works with Electron 28, please let me know.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

Kodehawa commented on 2022-03-03 15:46 (UTC) (edited on 2022-03-03 15:47 (UTC) by Kodehawa)

Then it has to be a discord issue. On 0.0.133 it worked on Electron 15 and below. Might also be a ffmpeg issue? Try downgrading it.

sl1pkn07 commented on 2022-03-03 15:41 (UTC)

explodes with this output

Failed to get crash dump id.
Report Id: 0473381c-8e3b-4e
[15903:0303/000601.255783:ERROR:node_controller.cc(567)] Trying to re-add dropped peer 1E56A1C33EC2E22.226D28E6BAD58DE9
[WebContents] crashed (reason: crashed, exitCode: 139)... reloading
Module ./ElectronTestRpc was not included.

Squares stop rotating and the enterely UI reloaded and relogin.

in the time of test, tested with electron 14 to 17. same behavior.

today upstream release 2 or 3 internal updates, but i cant test right now. i will goin to try more later

greetings

Kodehawa commented on 2022-03-03 01:29 (UTC)

Huh. It didn't work for me on the last version either on Electron 16, so I backtracked it to Electron 15. Is it broken on 15 too?

Sadly I can't fix upstream issues. Try electron versions yourself?

sl1pkn07 commented on 2022-03-02 23:08 (UTC) (edited on 2022-03-02 23:10 (UTC) by sl1pkn07)

the transmission video (view/join to transmission) stop working?

explodes for me in 0.0.134 :/

VectorKappa commented on 2022-03-02 23:07 (UTC)

Thank you.

Kodehawa commented on 2022-03-02 21:54 (UTC)

Updated to 0.0.134. Alongside that, for now I pinned the package to electron15. Whenever a new version of Discord releases I'll have to test it as it seems like the issue is on Discord itself now.

theriddick commented on 2022-03-02 21:26 (UTC) (edited on 2022-03-17 21:57 (UTC) by theriddick)

@VectorKappa You can change the package version in the PKGBUILD file from 133 to 134 and set the hash check as SKIP in meanwhile. Builds and runs fine this way.

I might have spoke too soon as it errors out with a crash atm.

UPDATE: Yep running under Electron15 solves that problem, so make that change also (as suggested by kodehawa) its only 2 lines. This is a new bug since moving from electron14 version.

VectorKappa commented on 2022-03-02 19:09 (UTC)

Out Of Date: Discord version 0.0.134 is now available

Kodehawa commented on 2022-02-28 22:29 (UTC) (edited on 2022-03-01 21:52 (UTC) by Kodehawa)

This package might NOT work with Electron 17.0. Don't know if the issue is with discord, or with electron itself.

Feel free to edit the PKGBUILD with the following to get around it: (apply the diff file)

diff --git a/PKGBUILD b/PKGBUILD
index 3b41cd9..a1d766c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ provides=('discord-canary')
 conflicts=('discord-canary')
 url='https://canary.discordapp.com'
 license=('custom')
-depends=('electron' 'gtk3' 'libnotify' 'libxss' 'glibc' 'alsa-lib' 'nspr' 'nss' 'xdg-utils' 'libcups')
+depends=('electron15' 'gtk3' 'libnotify' 'libxss' 'glibc' 'alsa-lib' 'nspr' 'nss' 'xdg-utils' 'libcups')
 makedepends=('asar')
 optdepends=('libpulse: Pulseaudio support'
             'xdg-utils: Open files'
@@ -67,7 +67,7 @@ package() {

   # Create starter script for discord
   echo "#!/bin/sh" >> "$srcdir"/$_pkgname
-  echo "exec electron /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname
+  echo "exec electron15 /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname

   install -d "$pkgdir"/usr/{bin,share/{pixmaps,applications}}
   install -Dm 755 $_pkgname "$pkgdir"/usr/bin/$_pkgname
--

I've bowed to never stray from the upstream electron package, but if this keeps happening on 17.0.1 I'll probably do the above to the package itself.

allexj commented on 2022-02-28 22:12 (UTC)

it's absurd that Discord team hasn't implemented screen share under Wayland yet. What a negligence