Compare commits

..

No commits in common. "d5513a1e947ad5082389849b121b3574e49a8c3b" and "ca79b29c2209643dcd549ba5c11d8f9cd1f1d9d8" have entirely different histories.

8 changed files with 14 additions and 16 deletions

View file

@ -1,7 +1,7 @@
pkgbase = discord-electron-openasar pkgbase = discord-electron-openasar
pkgdesc = Discord packaged with OpenAsar using system provided electron (v22) for increased security and performance pkgdesc = Discord packaged with OpenAsar using system provided electron (v22) for increased security and performance
pkgver = 0.0.27+809 pkgver = 0.0.27+809
pkgrel = 3 pkgrel = 2
url = https://discord.com url = https://discord.com
install = discord-electron-openasar.install install = discord-electron-openasar.install
arch = x86_64 arch = x86_64
@ -22,7 +22,7 @@ pkgbase = discord-electron-openasar
source = discord-launcher.sh source = discord-launcher.sh
source = git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae source = git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae
sha512sums = 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f sha512sums = 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f
sha512sums = ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279 sha512sums = d8c531d23014611b1e9dfa2d268747ba601f647c2cbfc26c15c9eebcec6f9feb454d10c6f603b9938e8da568da3080372b14309e966e0d00c0e1284a14591a83
sha512sums = SKIP sha512sums = SKIP
pkgname = discord-electron-openasar pkgname = discord-electron-openasar

View file

@ -9,7 +9,7 @@ _pkgname=discord
_electron=22 _electron=22
pkgver=0.0.27+809 pkgver=0.0.27+809
_pkgver=${pkgver%%+*} _pkgver=${pkgver%%+*}
pkgrel=3 pkgrel=2
pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electron}) for increased security and performance" pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electron}) for increased security and performance"
arch=('x86_64') arch=('x86_64')
provides=("${_pkgname}") provides=("${_pkgname}")
@ -28,7 +28,7 @@ source=("https://dl.discordapp.net/apps/linux/${_pkgver}/discord-${_pkgver}.tar.
'discord-launcher.sh' 'discord-launcher.sh'
"git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae") "git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae")
sha512sums=('285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f' sha512sums=('285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f'
'ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279' 'd8c531d23014611b1e9dfa2d268747ba601f647c2cbfc26c15c9eebcec6f9feb454d10c6f603b9938e8da568da3080372b14309e966e0d00c0e1284a14591a83'
'SKIP') 'SKIP')
# just in case I get the version wrong # just in case I get the version wrong

View file

@ -7,11 +7,10 @@ flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/@PKGNAME@-flags.conf"
declare -a flags declare -a flags
if [[ -f "${flags_file}" ]]; then if [[ -f "${flags_file}" ]]; then
sed -i "s|--ignore-gpu-blacklist|--ignore-gpu-blocklist|" "${flags_file}"
mapfile -t < "${flags_file}" mapfile -t < "${flags_file}"
else else
cat > "${flags_file}" <<EOF cat > "${flags_file}" <<EOF
#--ignore-gpu-blocklist #--ignore-gpu-blacklist
#--enable-gpu-rasterization #--enable-gpu-rasterization
#--enable-zero-copy #--enable-zero-copy
EOF EOF

View file

@ -1,7 +1,7 @@
pkgbase = discord-electron pkgbase = discord-electron
pkgdesc = Discord using system provided electron (v22) for increased security and performance pkgdesc = Discord using system provided electron (v22) for increased security and performance
pkgver = 0.0.27 pkgver = 0.0.27
pkgrel = 3 pkgrel = 2
url = https://discord.com url = https://discord.com
install = discord-electron.install install = discord-electron.install
arch = x86_64 arch = x86_64
@ -19,6 +19,6 @@ pkgbase = discord-electron
source = https://dl.discordapp.net/apps/linux/0.0.27/discord-0.0.27.tar.gz source = https://dl.discordapp.net/apps/linux/0.0.27/discord-0.0.27.tar.gz
source = discord-launcher.sh source = discord-launcher.sh
sha512sums = 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f sha512sums = 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f
sha512sums = ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279 sha512sums = d8c531d23014611b1e9dfa2d268747ba601f647c2cbfc26c15c9eebcec6f9feb454d10c6f603b9938e8da568da3080372b14309e966e0d00c0e1284a14591a83
pkgname = discord-electron pkgname = discord-electron

View file

@ -15,7 +15,7 @@ pkgname=discord-electron
_pkgname=discord _pkgname=discord
_electron=22 _electron=22
pkgver=0.0.27 pkgver=0.0.27
pkgrel=3 pkgrel=2
pkgdesc="Discord using system provided electron (v${_electron}) for increased security and performance" pkgdesc="Discord using system provided electron (v${_electron}) for increased security and performance"
arch=('x86_64') arch=('x86_64')
provides=("${_pkgname}") provides=("${_pkgname}")
@ -33,7 +33,7 @@ optdepends=(
source=("https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.tar.gz" source=("https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.tar.gz"
'discord-launcher.sh') 'discord-launcher.sh')
sha512sums=('285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f' sha512sums=('285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f'
'ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279') 'd8c531d23014611b1e9dfa2d268747ba601f647c2cbfc26c15c9eebcec6f9feb454d10c6f603b9938e8da568da3080372b14309e966e0d00c0e1284a14591a83')
prepare() { prepare() {
# prepare launcher and install script # prepare launcher and install script

View file

@ -7,11 +7,10 @@ flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/@PKGNAME@-flags.conf"
declare -a flags declare -a flags
if [[ -f "${flags_file}" ]]; then if [[ -f "${flags_file}" ]]; then
sed -i "s|--ignore-gpu-blacklist|--ignore-gpu-blocklist|" "${flags_file}"
mapfile -t < "${flags_file}" mapfile -t < "${flags_file}"
else else
cat > "${flags_file}" <<EOF cat > "${flags_file}" <<EOF
#--ignore-gpu-blocklist #--ignore-gpu-blacklist
#--enable-gpu-rasterization #--enable-gpu-rasterization
#--enable-zero-copy #--enable-zero-copy
EOF EOF