diff options
-rw-r--r-- | PKGBUILD | 7 | ||||
-rwxr-xr-x | notion-app | 4 | ||||
-rw-r--r-- | notion-app.desktop | 4 |
3 files changed, 9 insertions, 6 deletions
@@ -5,7 +5,7 @@ pkgname=notion-app pkgver=2.0.8 -pkgrel=3.3 +pkgrel=4 epoch=1 pkgdesc="The all-in-one workspace for your notes and tasks" arch=('i686' 'x86_64') @@ -13,13 +13,14 @@ url="https://www.notion.so/desktop" license=('MIT') depends=('electron6-bin' 're2' 'gtk3' 'xdg-utils') makedepends=('dmg2img' 'p7zip' 'libicns') +optdepends=('notion-enhancer: enhancements and fixes') source=( "https://desktop-release.notion-static.com/Notion-"${pkgver}".dmg" 'notion-app' 'notion-app.desktop') md5sums=('045d90d0322a82ff349a83725bb5c3b6' - 'ad3c23bc7d0186e2f622aa4b7310deac' - '557f7e0acfb56649f9ce7d9f7f85f7e6') + '38431798c3ad8835d0211f7668d5eee4' + 'dc75abd9b8f3f455a0b8fc0d8d8932b5') build() { msg "Converting dmg image..." mkdir -p "${srcdir}/tmp/build" diff --git a/notion-app b/notion-app index e2a808bab521..3d224c788bd7 100755 --- a/notion-app +++ b/notion-app @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Launch notion.so +# Launch notion electron app if [[ ! -e "/opt/notion-app" ]]; then echo "Error: /opt/notion not found" @@ -8,5 +8,5 @@ if [[ ! -e "/opt/notion-app" ]]; then fi pushd "/opt/notion-app/" >/dev/null || exit 1 -electron6 app.asar +electron6 app.asar $@ popd >/dev/null || exit 1 diff --git a/notion-app.desktop b/notion-app.desktop index 9a1f67c11dc4..826db2cd7372 100644 --- a/notion-app.desktop +++ b/notion-app.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Exec=/opt/notion-app/notion-app +Exec=/opt/notion-app/notion-app %u Icon=notion-app Terminal=false Type=Application @@ -8,3 +8,5 @@ Comment=The all-in-one workspace for your notes and tasks Categories=Office;Utility; StartupNotify=true StartupWMClass=Notion +MimeType=x-scheme-handler/notion + |