diff options
author | Alec Mev | 2021-04-26 19:55:36 +0100 |
---|---|---|
committer | Alec Mev | 2021-04-26 19:55:36 +0100 |
commit | 22e383cbbe3040f944213846fc4ab350aa1a75ab (patch) | |
tree | a205cfce80f032fb287a0a2304c3a39e223d2e5d | |
parent | 6309cea79e5ab5fda533f640d284e6d7353cce78 (diff) | |
download | aur-22e383cbbe3040f944213846fc4ab350aa1a75ab.tar.gz |
Nativefier 43.0.2, remove --internal-urls
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 7 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = notion-app-nativefier pkgdesc = Notion in shared Electron runtime - pkgver = 2021.04.05 + pkgver = 2021.04.26 pkgrel = 1 url = https://www.notion.so arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Alec Mev <alec@mev.earth> pkgname=notion-app-nativefier -pkgver=2021.04.05 +pkgver=2021.04.26 pkgrel=1 pkgdesc='Notion in shared Electron runtime' arch=('x86_64') @@ -33,14 +33,12 @@ EOF build() { cd "${srcdir}" - # 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|appleid\.apple\.com)(\/.*)?$' \ --maximize \ - --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/87.0" \ + --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0" \ --single-instance \ --verbose \ https://www.notion.so @@ -50,8 +48,8 @@ package() { mkdir -p "${pkgdir}/usr/share" local _x=`echo "${_name}-linux-"*` cp -r "${_x}/resources/app" "${pkgdir}/usr/share/${pkgname}" - install -Dm 755 -t "${pkgdir}/usr/bin/" "${pkgname}" - install -Dm 644 -t "${pkgdir}/usr/share/applications/" "${pkgname}.desktop" - install -Dm 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${_x}/LICENSE" - install -Dm 644 -t "${pkgdir}/usr/share/pixmaps/" "${pkgname}.png" + install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}" + install -Dm644 -t "${pkgdir}/usr/share/applications/" "${pkgname}.desktop" + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${_x}/LICENSE" + install -Dm644 -t "${pkgdir}/usr/share/pixmaps/" "${pkgname}.png" } |