Electron is officially available in the FreeBSD ports tree. For more information, please see the following URLs:
This repository will continue to serve as a pre-official development repository.
This repository contains an experimental port of electron for FreeBSD. The port is largely based on:
- chromium patch files from www/chromium port
- electron patch files by @prash-wghats
A package file is available at the releases page. To install, download the file (with .txz extension) and run the command (for example):
pkg install electron-4.1.4-freebsd12-amd64.txz
electron
If you would like to build artifacts for yourself, be sure you have the ports tree on your machine. If not, run the following commands:
portsnap fetch
portsnap extract
Clone this repository with git command and build/install electron (an external working directory is currently needed, defined with the WRKDIR enviroment variable):
git clone https://github.com/tagattie/FreeBSD-Electron
cd FreeBSD-Electron/devel/electron4
export WKRDIR=~/wrkdir
make install clean
- Built on FreeBSD 11 and 12 amd64.
- Chromium patches by FreeBSD/Chromium Team
- Electron patches by @prash-wghats at Electron-VSCode-Atom-For-FreeBSD
- Porting works by @freebsd-electron at electron-port