From 1deaebc586cfe6ad32e934074fb18c26d46cdbac Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 9 Jul 2024 09:03:26 +0300 Subject: [PATCH] .mikaela_install: add mozilla native messaging hosts --- .mikaela_install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.mikaela_install b/.mikaela_install index 9af3dd65..37c4e0c7 100755 --- a/.mikaela_install +++ b/.mikaela_install @@ -42,6 +42,13 @@ cat conf/firefox-forbidden-policies.js >~/.librewolf/librewolf.overrides.cfg #cat conf/librewolf.overrides.cfg >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg cat conf/firefox-forbidden-policies.js >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg +mkdir -p ~/.mozilla/native-messaging-hosts +if [ -d /usr/lib64/mozilla/native-messaging-hosts/ ]; then + cp -v /usr/lib64/mozilla/native-messaging-hosts/* ~/.mozilla/native-messaging-hosts +elif [ -d /usr/lib/mozilla/native-messaging-hosts/ ]; then + cp -v /usr/lib/mozilla/native-messaging-hosts/ ~/.mozilla/native-messaging-hosts +fi + mkdir -p ~/.local/share/applications ln -nsfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things mkdir -p ~/.local/share/icons/hicolor/128x128/apps/