.mikaela_install: add mozilla native messaging hosts

This commit is contained in:
Aminda Suomalainen 2024-07-09 09:03:26 +03:00
parent c32e6d16f1
commit 1deaebc586
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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/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 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 mkdir -p ~/.local/share/applications
ln -nsfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things ln -nsfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things
mkdir -p ~/.local/share/icons/hicolor/128x128/apps/ mkdir -p ~/.local/share/icons/hicolor/128x128/apps/