uppkg: 0.0.11-3: fix cmd args

This commit is contained in:
John C. Allwein 2020-08-27 10:51:28 -04:00
parent dce51c01cc
commit 204b7400ab
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 50982AE5B444BE15
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = discord_arch_electron
pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance
pkgver = 0.0.11
pkgrel = 2
pkgrel = 3
url = https://discordapp.com
arch = x86_64
license = custom

View file

@ -4,7 +4,7 @@
pkgname=discord_arch_electron
_pkgname=discord
pkgver=0.0.11
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')
@ -39,7 +39,7 @@ package() {
# Create starter script for discord
echo "#!/bin/sh" >> "$pkgdir"/opt/$_pkgname/$_pkgname
echo "electron /opt/$_pkgname/resources/app.asar $@" >> "$pkgdir"/opt/$_pkgname/$_pkgname
echo "electron /opt/$_pkgname/resources/app.asar \$@" >> "$pkgdir"/opt/$_pkgname/$_pkgname
# Set Permissions, symlinks
chmod 755 "$pkgdir"/opt/$_pkgname/$_pkgname