summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanuel Serpa2022-04-11 10:39:56 -0300
committerEmanuel Serpa2022-04-11 10:39:56 -0300
commit36695976f581d6c225f604e7bf2ad6de09a079ef (patch)
tree1145cbf71ca47bd8750fcf7fa2e8231487f67cb9
parente8020a327336b30580d8f2bdb502eda83b676d65 (diff)
downloadaur-36695976f581d6c225f604e7bf2ad6de09a079ef.tar.gz
fixes
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rwxr-xr-xwhatsapp-nativefier-notray2
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 68808a2a399..38d5c0bd00c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = whatsapp-nativefier-notray-hook
pkgdesc = Pacman hook to disable whatsapp-nativefier tray after install or upgrade.
pkgver = 1
- pkgrel = 2
+ pkgrel = 3
install = whatsapp-nativefier-notray-hook.install
arch = any
license = MIT
@@ -9,6 +9,6 @@ pkgbase = whatsapp-nativefier-notray-hook
source = whatsapp-nativefier-notray.hook
source = whatsapp-nativefier-notray
sha1sums = 019bc488c1b5ebf402a9e0a6e47eaf9565f20411
- sha1sums = 8ad521854a407a848b21db10b557491240a60f84
+ sha1sums = dd6abc702e11a2eea68a20d833fb18946c352450
pkgname = whatsapp-nativefier-notray-hook
diff --git a/PKGBUILD b/PKGBUILD
index 7a17ece05c0..6d30909d99a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
pkgname=whatsapp-nativefier-notray-hook
pkgver=1
-pkgrel=2
+pkgrel=3
pkgdesc="Pacman hook to disable whatsapp-nativefier tray after install or upgrade."
arch=("any")
install=whatsapp-nativefier-notray-hook.install
license=("MIT")
depends=('whatsapp-nativefier')
source=(whatsapp-nativefier-notray.hook whatsapp-nativefier-notray)
-sha1sums=("019bc488c1b5ebf402a9e0a6e47eaf9565f20411"
- "8ad521854a407a848b21db10b557491240a60f84")
+sha1sums=('019bc488c1b5ebf402a9e0a6e47eaf9565f20411'
+ '23237f192fab460129ceb3a0b27821be028d4f8a')
package() {
install -m755 -d "${pkgdir}/usr/share/libalpm/hooks"
diff --git a/whatsapp-nativefier-notray b/whatsapp-nativefier-notray
index ec4a89f36a9..8366fd15d3f 100755
--- a/whatsapp-nativefier-notray
+++ b/whatsapp-nativefier-notray
@@ -1,3 +1,3 @@
#!/bin/bash
-sed -i 's/"tray": "true",/"tray": "false",/g' /opt/whatsapp-nativefier/resources/app/nativefier.json
+sed -i -E 's/"tray":"true"|"tray" : "true",/"tray":"false"/g' /opt/whatsapp-nativefier/resources/app/nativefier.json