REVELation Documentation

Notes on packaging


Building on OSx

Before building, make sure you have Homebrew, Node.js and Git installed. From a terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Make sure it's available
brew --version

# Install Node:
brew install node

# Verify:
node -v
npm -v

# Install Git
brew install git

# Verify
git --version

Building the Application

git clone --recursive https://github.com/fiforms/revelation-electron-wrapper.git
cd revelation-electron-wrapper

npm install

# Testing the app
npm start

npm run dist-mac

Building on OSx (intel, cross compiling from arm64)

  • Install Rosetta
  • Set the Terminal app to open using Rosetta
  • Follow build instrucitons above in a fresh directory

Building on Windows

First install Git and Node

Open a PowerShell window

git clone --recursive https://github.com/fiforms/revelation-electron-wrapper.git
cd revelation-electron-wrapper
npm install

# Testing the app
npm start

# Build Poppler Plugin
npm run build-popplerpdf-win
npm run dist-popplerpdf-win

# Building Package
npm run dist-win

Building on Linux

setup envorinment (Ubuntu)

sudo apt install git npm libnspr4 libnss3 ffmpeg
sudo npm install -g node@latest
sudo npm install -g npm@latest

Build

git clone --recursive https://github.com/fiforms/revelation-electron-wrapper.git
cd revelation-electron-wrapper
npm install
npm start
npm run dist-linux


Documentation Hub

Back to Documentation Hub

Created with REVELation Snapshot Presenter