Skip to main content

Installation

dotnet add package Fable.Electron

There are 3 packages available on nuget. All packages compile with Fable, so there's no need to have separate projects/dependencies (as is the case with other stacks using Fable.Remoting) unless you want to!

Required

Fable.Electron

These are the bindings to electron.

dotnet add package Fable.Electron
Semver

The downloaded Major and Minor version mirror the electron version they were generated from!

The patch is increased not just by a new electron patch, but also with our own changes.

If you have Fable.Electron version 39.2.x, then you should install the corresponding electron version.


Ancillary Packages

Fable.Electron.Remoting

dotnet add package Fable.Electron.Remoting

A library to empower you to use the familiar Fable.Remoting style for electron IPC!

Supports:

  • Two way IPC (Renderer -> Main -> Renderer)
  • One way IPC (Main -> Renderer)

Setup in your main process, prerender script and render process and you're set!

Fable.Electron.Forge

dotnet add package Fable.Electron.Forge

These are light bindings for electron-forge with environment constants that are available in the vite based templates.