discord 0.0.17-3: pin to electron16 in start script
This commit is contained in:
parent
01943f2142
commit
d0aa789ed0
1 changed files with 3 additions and 3 deletions
6
PKGBUILD
6
PKGBUILD
|
@ -4,14 +4,14 @@
|
|||
pkgname=discord_arch_electron
|
||||
_pkgname=discord
|
||||
pkgver=0.0.17
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
|
||||
arch=('x86_64')
|
||||
provides=('discord')
|
||||
conflicts=('discord')
|
||||
url='https://discordapp.com'
|
||||
license=('custom')
|
||||
depends=('electron')
|
||||
depends=('electron16')
|
||||
makedepends=('asar')
|
||||
optdepends=('libpulse: Pulseaudio support'
|
||||
'xdg-utils: Open files')
|
||||
|
@ -46,7 +46,7 @@ package() {
|
|||
|
||||
# Create starter script for discord
|
||||
echo "#!/bin/sh" > "$srcdir"/$_pkgname
|
||||
echo "exec electron /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname
|
||||
echo "exec electron16 /usr/lib/$_pkgname/app.asar \$@" >> "$srcdir"/$_pkgname
|
||||
|
||||
install -d "$pkgdir"/usr/{bin,share/{pixmaps,applications}}
|
||||
install -Dm 755 $_pkgname "$pkgdir"/usr/bin/$_pkgname
|
||||
|
|
Loading…
Reference in a new issue