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: 34
Popularity: 0.007191
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 »

Foxinatel commented on 2022-08-05 00:09 (UTC)

A patch for higher versions of Electron was discussed in the comments for discord_arch_electron. I've tested the same method for this version (example can be found at https://github.com/Foxinatel/discord-canary-electron-bin), and it seems to work perfectly for all versions up to Electron 19.

theriddick commented on 2022-04-16 01:50 (UTC) (edited on 2022-07-14 23:54 (UTC) by theriddick)

Canary package version should now be .135 (its available). Remember to adjust the hash check or set it to SKIP until AUR is updated fully. UPDATE: now .136 is needed, same deal.

theriddick commented on 2022-03-30 01:12 (UTC)

Still unable to use H264 in Discord without watching peoples streams causing internal app crash. (appears encoding part works)

I can watch peoples streams if H264 is disabled, but I suspect this disables the encode component also.

I use these conf in electron15 with powercord launcher. Basically to improve encoding performance. Originally it worked fine, but something must be broken. (not only one with this issue)

--enable-accelerated-mjpeg-decode --enable-accelerated-video --ignore-gpu-blacklist --enable-native-gpu-memory-buffers --enable-gpu-rasterization

theriddick commented on 2022-03-28 23:33 (UTC)

Keep getting this message that pops up every so often asking to Update Now. But pressing that does nothing. Seems client thinks it needs to update when it appears to work just fine.

If I reboot my machine I noticed it does 1of7 update process on first launch.

Odd

theriddick commented on 2022-03-17 15:40 (UTC) (edited on 2022-03-17 21:57 (UTC) by theriddick)

Anyone have a issue when clicking WATCH STREAM of other people and have the discord internally restart?

I can stream myself fine but watching them causes this reset behavior and I don't know why.

UPDATE: Seems other people have this issue. You can encode and stream videos but can't watch them with open264 enabled, so you must disable that in order to watch other peoples streams. VERY WEIRD ISSUE!

sl1pkn07 commented on 2022-03-11 16:51 (UTC)

tested with multitranmission. zero problems with electron15 with ffmpeg4 support and without disable openh264 hardware decoding (disable hardware decoding is the workground for transmission crashes)

sl1pkn07 commented on 2022-03-06 09:48 (UTC)

seems electron 15 have better approach than me for the build electron with ffmpeg4. sic

sl1pkn07 commented on 2022-03-05 19:33 (UTC) (edited on 2022-03-05 22:15 (UTC) by sl1pkn07)

tested and needs build electron (tested v16) with ffmpeg 4.x

take ages to build, but works with discord canary core

change ffmpeg in depends to ffmpeg4.4

add to makedepends()

'patchutils'

add to sources()

        'ffmpeg4.4_1.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~3011889/revisions/7/patch?download'
        'ffmpeg4.4_2.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~2965899/revisions/3/patch?download'

and SKIP to sums

and add

  # Use ffmepg4.4
  # Needs revert https://chromium-review.googlesource.com/c/chromium/src/+/3011889
  #          and https://chromium-review.googlesource.com/c/chromium/src/+/2965899
  # the patch fails iself due collisions with the file DEPS, so strip out with filterdiff
  export PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig
  base64 -d ../ffmpeg4.4_1.patch.base64 | filterdiff -p1 -x 'DEPS' > ../ffmpeg4.4_1.patch.base64_filtered
  patch -RNp1 -i ../ffmpeg4.4_1.patch.base64_filtered
  base64 -d ../ffmpeg4.4_2.patch.base64 | filterdiff -p1 -x 'DEPS' > ../ffmpeg4.4_2.patch.base64_filtered
  patch -RNp1 -i ../ffmpeg4.4_2.patch.base64_filtered

to prepare()

build and install

greetings

EDIT: seems a bit inestable. trying with electron 15 :/