diff options
author | Kodehawa | 2024-01-04 17:05:17 -0300 |
---|---|---|
committer | Kodehawa | 2024-01-04 17:05:17 -0300 |
commit | 68c56ff6ce5cb49916d01fe5a5604782e63e7d90 (patch) | |
tree | d607089893d32a25007fb143eb746c3b41ad1369 | |
parent | 92346cc5c9fb92cec134975d3b93a07ca6c0316b (diff) | |
download | aur-68c56ff6ce5cb49916d01fe5a5604782e63e7d90.tar.gz |
electron 28 crashes, use 26
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -1,12 +1,12 @@ pkgbase = discord-canary-electron-bin pkgdesc = Discord Canary (popular voice + video app) using the system provided electron for increased security and performance pkgver = 0.0.233 - pkgrel = 1 + pkgrel = 2 url = https://canary.discordapp.com arch = x86_64 license = custom makedepends = asar - depends = electron + depends = electron26 depends = gtk3 depends = libnotify depends = libxss @@ -17,7 +17,7 @@ pkgname=discord-canary-electron-bin _pkgname=discord-canary pkgver=0.0.233 -pkgrel=1 +pkgrel=2 pkgdesc="Discord Canary (popular voice + video app) using the system provided electron for increased security and performance" arch=('x86_64') provides=('discord-canary') @@ -25,7 +25,7 @@ conflicts=('discord-canary') url='https://canary.discordapp.com' license=('custom') options=(!strip) -depends=('electron' 'gtk3' 'libnotify' 'libxss' 'glibc' 'alsa-lib' 'nspr' 'nss' 'xdg-utils' 'libcups') +depends=('electron26' 'gtk3' 'libnotify' 'libxss' 'glibc' 'alsa-lib' 'nspr' 'nss' 'xdg-utils' 'libcups') makedepends=('asar') optdepends=('libpulse: Pulseaudio support' 'xdg-utils: Open files' @@ -70,8 +70,8 @@ package() { cp -r "$_tarname"/resources/* "$pkgdir"/usr/lib/$_pkgname/ # Create starter script for discord - echo "#!/bin/sh" >> "$srcdir"/$_pkgname - echo "exec electron /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname + echo "#!/bin/sh" > "$srcdir"/$_pkgname + echo "exec electron26 /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname install -d "$pkgdir"/usr/{bin,share/{pixmaps,applications}} install -Dm 755 $_pkgname "$pkgdir"/usr/bin/$_pkgname |