UPDATE: This does not work for the latest version of Notion. To install a pre-enhanced version of the Notion app, go to https://github.com/notion-enhancer/notion-repackaged instead of following this guide!
<aside> 📁 file paths are relative to your global node modules folder, which will vary between systems. you may need to enable/view hidden folders in your file manager to find them.
</aside>
<aside> ⌨️ to "run" something means to put it into cmd or terminal line by line, hitting enter after each one.
</aside>
DO NOT EDIT THE FILES IN YOUR DOWNLOADS FOLDER. DO NOT TRY AND PUT THE FILEPATHS IN CMD/TERMINAL. LOOK AT THE LINK ABOVE. ALL FILEPATHS ARE FILES WITHIN THE GLOBAL NODE MODULES FOLDER AND NEED TO BE OPENED AND EDITED IN A TEXT EDITOR.
uninstall/reinstall notion to refresh it
if the enhancer is already installed, run notion-enhancer apply -y
. otherwise, run npm i -g notion-enhancer
.
replace line 108 of notion-enhancer/mods/core/client.js
with
!document.querySelector('.notion-topbar > div[style*="display: flex"]')
add the following to line 19 of notion-enhancer/mods/core/createWindow.js
:
__exports.getIndexUrl = require(`${helpers
.getNotionResources()
.replace(/\\\\/g, '/')}/app/helpers/urlHelpers.js`).getIndexUrl;
if on a newer version of macOS and you get a permissions error when opening the app, run codesign --force --deep --sign - /Applications/Notion.app