summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrealgagu2020-03-26 11:59:08 -0500
committerfrealgagu2020-03-26 11:59:08 -0500
commitb6e767564eea1193aaefc5b153a9b37e0542b789 (patch)
tree074305341ca6c7ae130eb21b9e644a2cf3ab7488
parent800d8e355aafe722261ea074d987936b65102546 (diff)
downloadaur-b6e767564eea1193aaefc5b153a9b37e0542b789.tar.gz
Adjusting preload.js to show screen correctly.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72e32cebb98..9449ebc5139 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = whatsapp-nativefier
pkgdesc = WhatsApp desktop built with nativefier (electron)
- pkgver = 0.4.1307
+ pkgver = 0.4.2080
pkgrel = 1
url = https://web.whatsapp.com
arch = armv7l
diff --git a/PKGBUILD b/PKGBUILD
index 94a6e6d91fe..59b8809280c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Fredy GarcĂ­a <frealgagu at gmail dot com>
pkgname=whatsapp-nativefier
-pkgver=0.4.1307
+pkgver=0.4.2080
pkgrel=1
pkgdesc="WhatsApp desktop built with nativefier (electron)"
arch=("armv7l" "i686" "x86_64")
@@ -41,6 +41,8 @@ package() {
_folder=$(ls -l "${srcdir}" | grep "[Ww]hats[-]*[Aa]pp-linux-" | awk '{print $9}')
_binary=$(ls -l "${srcdir}/${_folder}" | grep "[Ww]hats[-]*[Aa]pp" | awk '{print $9}')
+
+ sed -i -e "/loglevel/d" "${srcdir}/${_folder}/resources/app/lib/preload.js"
cp -rL "${srcdir}/${_folder}" "${pkgdir}/opt/${pkgname}"
ln -s "/opt/${pkgname}/${_binary}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"