summarylogtreecommitdiffstats
path: root/whatsapp-nativefier-notray-hook.install
diff options
context:
space:
mode:
Diffstat (limited to 'whatsapp-nativefier-notray-hook.install')
-rw-r--r--whatsapp-nativefier-notray-hook.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/whatsapp-nativefier-notray-hook.install b/whatsapp-nativefier-notray-hook.install
new file mode 100644
index 00000000000..270eaae0a2f
--- /dev/null
+++ b/whatsapp-nativefier-notray-hook.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo "Disabling tray in the current whatsapp-nativefier install"
+ sed -i 's/"tray":true/"tray":false/g' /opt/whatsapp-nativefier/resources/app/nativefier.json
+}