Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

enmanuelmoreira/notion-rpm-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notion RPM Builder

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

Note: Tested on Fedora 33 and CentOS 8.2

Prebuilt packages

See Releases

Requirements

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

    sudo dnf install nodejs
  2. Install asar, electron-packager and electron-installer-debian:

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

    Using Redhat:

    sudo dnf 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.8.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.

About

Build Notion packages for Redhat

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%