#!/bin/bash

PROFILE=default

source ./make-xpi.sh
cp adwaita-firefox.xpi ~/.mozilla/firefox/*.${PROFILE}/extensions/{451500c0-902c-11e0-91e4-0800200c9a66}.xpi

killall firefox firefox-bin &>/dev/null; firefox &

#!/bin/bash

PROFILE=default

source ./make-xpi.sh
for directory in ~/.mozilla/firefox/*.${PROFILE}
do
    cp adwaita-firefox.xpi $directory/extensions/{451500c0-902c-11e0-91e4-0800200c9a66}.xpi
done

killall firefox firefox-bin &>/dev/null; firefox &

Make it works with more than one *.default directory
Make it works with more than one *.default directory
