Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create distributables for Windows + Linux #284

Merged

Conversation

CollinsSpencer
Copy link
Contributor

Problem

Solution

  • Use electron-builder to create these distributables, since electron-builder supports AppImage + auto-update on Linux.
  • Still use Electron Forge for the Vite development.
  • This PR creates the NSIS .exe for Windows and the .AppImage for Linux.
  • This PR does not fully implement auto-updates.

Copy link
Contributor

@bcdrme bcdrme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are looking good but I cannot run the generated AppImage on my machine (Fedora 41). It shows a white screen with the following error message in the terminal

(node:16549) electron: Failed to load URL: http://localhost:5173/ with error: ERR_CONNECTION_REFUSED

Screenshot From 2025-01-02 11-45-58

@bcdrme
Copy link
Contributor

bcdrme commented Jan 3, 2025

I've got it fixed 👍
see 41955aa

@bcdrme bcdrme merged commit 30f7c5e into beyond-all-reason:master Jan 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants