diff options
author | Alec Mev | 2021-04-26 19:56:53 +0100 |
---|---|---|
committer | Alec Mev | 2021-04-26 19:56:53 +0100 |
commit | af3529ee69e9d4081e38fcb959bccd23506a476c (patch) | |
tree | ee99bc9c4f2fd79172c4bb3de64f28fe965b136d | |
parent | 4bd3d35d8b791fae57cc69c423b06185e6f68a59 (diff) | |
download | aur-af3529ee69e9d4081e38fcb959bccd23506a476c.tar.gz |
Nativefier 43.0.2, remove --internal-urls
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 9 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = todoist-nativefier pkgdesc = Todoist in shared Electron runtime - pkgver = 2021.04.05 - pkgrel = 2 + pkgver = 2021.04.26 + pkgrel = 1 url = https://todoist.com arch = x86_64 license = MIT @@ -1,8 +1,8 @@ # Maintainer: Alec Mev <alec@mev.earth> pkgname=todoist-nativefier -pkgver=2021.04.05 -pkgrel=2 +pkgver=2021.04.26 +pkgrel=1 pkgdesc='Todoist in shared Electron runtime' arch=('x86_64') url='https://todoist.com' @@ -35,14 +35,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?:\/\/)?(todoist\.com|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://todoist.com @@ -52,8 +50,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" } |