summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Mev2021-04-01 22:19:21 +0100
committerAlec Mev2021-04-01 22:19:21 +0100
commitbc92d3b1b0f17d26a95c4a2bbf01411071ce47ce (patch)
tree5c7811f018383aa09afd97ab0fa1ba4f5fea14bf
parentca50626cf125eddb2e7364ec40e4c237a386144d (diff)
downloadaur-bc92d3b1b0f17d26a95c4a2bbf01411071ce47ce.tar.gz
Nativefier 43, fix Google auth
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7b996ffcef09..ab95c27d8b5a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = notion-app-nativefier
pkgdesc = Notion in shared Electron runtime
- pkgver = 2021.02.22
+ pkgver = 2021.04.01
pkgrel = 1
url = https://www.notion.so
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index fa70b588b42c..45feef078162 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alec Mev <alec@mev.earth>
pkgname=notion-app-nativefier
-pkgver=2021.02.22
+pkgver=2021.04.01
pkgrel=1
pkgdesc='Notion in shared Electron runtime'
arch=('x86_64')
@@ -33,12 +33,14 @@ EOF
build() {
cd "${srcdir}"
- # https://regex101.com/r/FpfTKB/1
+ # https://github.com/nativefier/nativefier/pull/1146
+ # https://github.com/nativefier/nativefier/issues/831
nativefier \
--name "${_name}" \
--icon "${pkgname}.png" \
- --internal-urls '/^(https?:\/\/)?(www\.notion\.so|accounts\.google\.com|appleid\.apple\.com)(\/.*)?$' \
+ --internal-urls '/^(https?:\/\/)?appleid\.apple\.com(\/.*)?$' \
--maximize \
+ --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/87.0" \
--single-instance \
--verbose \
https://www.notion.so