question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incompatibility with latest AUR notion-app package

See original GitHub issue

I am the maintainer of the notion-app AUR package and I have made changes to the final install that makes it incompatible with the current notion-enhancer.

What I believe is happening right now is that when notion-enhancer is applied, it tries to patch the binary /opt/notion-app/notion, resulting in a corrupted binary.

I am aware that notion-enhancer is not ready for 2.0.13+ but I think the problems of compatibility with the AUR package could be solved changing https://github.com/notion-enhancer/notion-enhancer/blob/dev/pkg/helpers.js and https://github.com/notion-enhancer/notion-enhancer/blob/dev/pkg/apply.js to the current installation.

As of now, I am extracting the resources right out of the windows build and recreating the electron package myself using these resources. I make some changes to that source code myself so I’m not sure if that will make it outright incompatible with notion-enhancer’s patches.

Anyway, I will try to get notion-enhancer to successfully patch notion-app and will submit it as a PR.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:32 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
valerie-makescommented, Apr 25, 2021

Bummer 😿 notion-linux is so awesome, are you open for contributions even if you might not be able to test them?

Yes! Anyway, I can still test stuff in a VM, just it’s a little more awkward than running Linux as my primary OS.

Sidenote, I think the latest version of Notion builds fine on x86, but building the notion-enhanced package is the problem as discussed in this issue (as well as packages for the ARM architecture) and I could probably get notion-enhancer builds working with the changes in #460 - see also https://github.com/davidbailey00/notion-linux/issues/38

1reaction
jamezrincommented, Apr 25, 2021

@jamezrin apologies if this is a silly question, I haven’t had a lot of experience with how the AUR works. Would it be worth considering working with @davidbailey00 to create a single, universal Linux port of Notion so there could be consistent releases of Notion and simpler support by things like the enhancer?

The main difference between them is how the packaging is done / the directory in which the application is installed - otherwise they are more or less the same already.

The AUR is inherently tied to Arch, and I’m using electron-installer-redhat and electron-installer-debian to produce packages but there is no official electron-installer-arch, so I’m not sure what else could be done realistically to make the packages more similar, unless we both install notion to /opt for example.

When working in the AUR, the preferred approach normally is to build the package ourselves and install directly to the pkgdir instead of building a rpm, deb, etc package. When a user installs something from the AUR, most of the time it’s going to build from source, or adapt a deb or rpm package to work on Arch.

Taking a look at notion-linux, we do things in pretty much the same way, the biggest difference I see is that notion-linux is using electron-packager and notion-app AUR package is using electron-builder instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Notion Enhancer Not Working (FIXED!) | Free Notion Add On
Help support the channel by joining Notion team plan today: https://notion.grsm.io/b6mthmzjnoekIn this video, I'll be showing how to ...
Read more >
AUR (en) - notion-app - Arch Linux
Package Details: notion-app 2.0.18-1 ... Package Base: notion-app ... I've installed the latest version, but I cannot open more than 1 ...
Read more >
Case study: Analyzing Notion app performance
Open any JS-heavy page (e.g. the Notion one), go to DevTools, press Ctrl+Shift+P (Windows) or ⌘⇧P (macOS), type in “start coverage”, and press ......
Read more >
nbundle - Your Notion App Store
Discover & manage apps where you use them: in Notion. 1-click away to discover new apps, install, uninstall, enable, or disable them, all...
Read more >
Why can't Drafts share to Notion - what's the “incompatibility”?
... create a page or other object, and paste the content. ... Drafts of all apps is “incompatible” with Notion's native Share functionality....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found