summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Mev2021-04-05 20:05:27 +0100
committerAlec Mev2021-04-05 20:05:27 +0100
commit4bd3d35d8b791fae57cc69c423b06185e6f68a59 (patch)
treec996d15b1be3e0d693242df93549e5607e910bb1
parente37a8481b26e3537e14a7cc64c344b5ac19e0628 (diff)
downloadaur-4bd3d35d8b791fae57cc69c423b06185e6f68a59.tar.gz
Remove leading slash from internal URL regex
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8328db447fa5..50b3e9434e49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = todoist-nativefier
pkgdesc = Todoist in shared Electron runtime
pkgver = 2021.04.05
- pkgrel = 1
+ pkgrel = 2
url = https://todoist.com
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index b5c030b01dc4..09f56a30769c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=todoist-nativefier
pkgver=2021.04.05
-pkgrel=1
+pkgrel=2
pkgdesc='Todoist in shared Electron runtime'
arch=('x86_64')
url='https://todoist.com'
@@ -40,7 +40,7 @@ build() {
nativefier \
--name "${_name}" \
--icon "${pkgname}.png" \
- --internal-urls '/^(https?:\/\/)?(todoist\.com|appleid\.apple\.com)(\/.*)?$' \
+ --internal-urls '^(https?:\/\/)?(todoist\.com|appleid\.apple\.com)(\/.*)?$' \
--maximize \
--user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/87.0" \
--single-instance \