diff options
author | Excitable Snowball <excitablesnowball@gmail.com> | 2020-05-12 12:32:43 -0700 |
---|---|---|
committer | Excitable Snowball <excitablesnowball@gmail.com> | 2020-05-12 12:36:15 -0700 |
commit | 5c1e9fb69ef94cf8e477db20604a458e7473dac0 (patch) | |
tree | 38af0fd2067beaa343496f04c4c1523d6a925e4e /zoom-firejail.install | |
parent | 4a6cc0053a491c25c4a3da690d7f4aaa098eb99d (diff) |
0.1.4 - post-install instructions to configure DE
Chromium and some other programs use xdg-open to determine which program
to use for zoommtg:// links. After installing, print out a hint
explaining how to configure your desktop environment to open these links
in zoom-firejail.
Diffstat (limited to 'zoom-firejail.install')
-rw-r--r-- | zoom-firejail.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zoom-firejail.install b/zoom-firejail.install new file mode 100644 index 0000000..02a750c --- /dev/null +++ b/zoom-firejail.install @@ -0,0 +1,16 @@ +post_install() { + echo + echo "To configure your desktop environment to open Zoom links in Firejail, run:" + echo + for scheme in zoommtg zoomus tel callto zoomphonecall; do + echo "xdg-mime default ZoomFirejail.desktop x-scheme-handler/$scheme" + done + echo +} + +post_upgrade() { + # xdg-mime instructions added in 0.1.4 + if [ $(vercmp $2 0.1.3) -le 0 ]; then + post_install + fi +} |