Build Notion packages for Redhat, using resources extracted from Notion's Windows or macOS packages.
See Releases
-
Install Node.js, e.g. using NVM:
nvm install node
-
Install
asar,electron-packagerandelectron-installer-debian:npm -g install asar electron-packager electron-installer-redhat
-
Install packages required for
7z,convert,fakerootanddpkg.Using Redhat:
sudo yum install p7zip-plugins ImageMagick fakeroot
Or, using macOS:
brew install p7zip imagemagick fakeroot dpkg
-
Download the latest Notion Windows or macOS installer, as
notion.exeornotion.dmgrespectively, e.g. using wget:wget 'https://desktop-release.notion-static.com/Notion%20Setup%202.0.6.exe' -O notion.exe
Run the build script:
./build.sh <platform>replacing <platform> with either windows or mac, depending on which sources you would like to build from.
Once complete, you should have a RPM package in the dist/installers directory.