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