Skip to content

Standalone electron webapp build

A painstakingly long setup of electron that wont rely on SSG (single site generation) and works perfectly fine with SSR (server-side rendering). It means page load times would be slow for being a desktop app but it isn't our concern.

Reply with "LGTM" if this works on your computer, otherwise send your error here and I'll try to fix it. once everyone has a running build it'll be merged into main.

Use the commands in this order to run the electron build

  1. bun i --frozen-lockfile
  2. bun run build:next
  3. bun run build:electron
  4. bun run start:electron

NOTE: you may have to change the path at !2 (diffs) depending on how next built the website in the .next/ directory

Edited by Abaan Hussain (woj352)

Merge request reports

Loading