summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuologic2020-11-10 14:35:18 +0100
committerDuologic2020-11-10 14:35:18 +0100
commit50017be396015145b9335cce1796540c2bc072cd (patch)
tree089cb45b4c7df8a6f3dcf58ed45b1b3e799015b5
parent4b4a1765844802e7f45253fb53ee8e03a2a3a4af (diff)
downloadaur-zoom-firefox.tar.gz
show join if run without param
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
-rwxr-xr-xzoom-firefox8
3 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ce193ccedd..94698fcd06f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zoom-firefox
pkgdesc = .desktop file for running Zoom in Firefox
- pkgver = 0.0.2
- pkgrel = 3
+ pkgver = 0.0.3
+ pkgrel = 0
install = zoom-firefox.install
arch = x86_64
license = MIT
@@ -10,7 +10,7 @@ pkgbase = zoom-firefox
source = ZoomFirefox.desktop
source = zoom-firefox
sha512sums = fd32a73eb0096f8cb95cbf44e89bf132090000e1b4465c0096f06753ac26bc73652490971f0006f809aa689d64b8fb043e049fe9cc3ed06f63b28506c178e33b
- sha512sums = 46dc798fd3f3a4cd7413df4da909742a674a7d080ec03fd2c8d87a102fbf5bb70792160629049d1f69a59bad05b7fa5561fd06681da3be8789d50ee54c456687
+ sha512sums = eee9b5c6c6c0bce321b332e4562d559c8da47d13f69a3ba86c962663c58067b673b4238129907102bc461f491ed73b5e5a6588c1c99ce5a78dbf361d0f0dac59
pkgname = zoom-firefox
diff --git a/PKGBUILD b/PKGBUILD
index 9f21e8435c3..4b100590573 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Duologic <jeroen@simplistic.be>
pkgname=zoom-firefox
-pkgver=0.0.2
-pkgrel=3
+pkgver=0.0.3
+pkgrel=0
pkgdesc=".desktop file for running Zoom in Firefox"
arch=('x86_64')
license=('MIT')
@@ -12,7 +12,7 @@ install=zoom-firefox.install
source=('ZoomFirefox.desktop'
'zoom-firefox')
sha512sums=('fd32a73eb0096f8cb95cbf44e89bf132090000e1b4465c0096f06753ac26bc73652490971f0006f809aa689d64b8fb043e049fe9cc3ed06f63b28506c178e33b'
- '46dc798fd3f3a4cd7413df4da909742a674a7d080ec03fd2c8d87a102fbf5bb70792160629049d1f69a59bad05b7fa5561fd06681da3be8789d50ee54c456687')
+ 'eee9b5c6c6c0bce321b332e4562d559c8da47d13f69a3ba86c962663c58067b673b4238129907102bc461f491ed73b5e5a6588c1c99ce5a78dbf361d0f0dac59')
package() {
install -Dm755 zoom-firefox "$pkgdir"/usr/bin/zoom-firefox
diff --git a/zoom-firefox b/zoom-firefox
index 420ac462ced..ed876d0be1d 100755
--- a/zoom-firefox
+++ b/zoom-firefox
@@ -5,4 +5,10 @@ IFS='=&'
parm=($1)
IFS=$saveIFS
-/usr/bin/firefox "https://zoom.us/wc/${parm[3]}/join"
+if [[ -n $1 ]]; then
+ URL="https://zoom.us/wc/${parm[3]}/join"
+else
+ URL="https://zoom.us/join/"
+fi
+
+/usr/bin/firefox --ssb ${URL}