Incompatibility with latest AUR notion-app package
See original GitHub issueI 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:
- Created 2 years ago
- Comments:32 (20 by maintainers)
Top GitHub Comments
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/38When 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.