Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.19 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.19 KB

Notion RPM Builder

Build Notion packages for Redhat, using resources extracted from Notion's Windows or macOS packages.

Prebuilt packages

See Releases

Requirements

  1. Install Node.js, e.g. using NVM:

    nvm install node
  2. Install asar, electron-packager and electron-installer-debian:

    npm -g install asar electron-packager electron-installer-redhat
  3. Install packages required for 7z, convert, fakeroot and dpkg.

    Using Redhat:

    sudo yum install p7zip-plugins ImageMagick fakeroot

    Or, using macOS:

    brew install p7zip imagemagick fakeroot dpkg
  4. Download the latest Notion Windows or macOS installer, as notion.exe or notion.dmg respectively, e.g. using wget:

    wget 'https://desktop-release.notion-static.com/Notion%20Setup%202.0.6.exe' -O notion.exe

Build

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.