In the meantime this will restore :
and /
to functionality in an existing install
sudo pacman -S asar
cd "/opt/Notion Enhanced/resources"
sudo asar extract app.asar app
cd app
echo '"use strict;"' | sudo tee preload.new.js
echo 'function at(n) { n = Math.trunc(n) || 0; if (n < 0) n += this.length; if (n < 0 || n >= this.length) return undefined; return this[n]; }; const TypedArray = Reflect.getPrototypeOf(Int8Array); for (const C of [Array, String, TypedArray]) { Object.defineProperty(C.prototype, "at", {value: at, writable: true, enumerable: false, configurable: true }); }; console.log("Applied .at polyfill")' | sudo tee -a preload.new.js
cat renderer/preload.js | tail -n+2 | sudo tee -a preload.new.js
sudo mv preload.new.js renderer/preload.js
cd ..
sudo rm app.asar
sudo asar pack ./app app.asar
sudo rm -rf app
Pinned Comments
jamezrin commented on 2021-05-29 13:58 (UTC) (edited on 2021-05-29 13:58 (UTC) by jamezrin)
This package includes https://github.com/notion-enhancer/notion-enhancer built-in and is based on top of https://aur.archlinux.org/packages/notion-app/.
It is likely that this version will have more bugs than the original, so if you don't need the enhancements and this package doesn't work for you, try notion-app instead.
jamezrin commented on 2021-05-29 12:35 (UTC) (edited on 2021-12-26 21:39 (UTC) by jamezrin)
How to use Notion Enhancer:
For anyone wanting to use notion-enhancer, I highly recommend using https://aur.archlinux.org/packages/notion-app-enhanced/ instead.
notion-app-enhanced is built on top off this (notion-app) package and has notion-enhancer embedded in the final package. It doesn't require any manual steps to use.
How to fix weird Emoji characters:
Please, take a look at the following blog post: https://pat-s.me/emoji-support-for-notion-so-on-linux/