Skip to content

For Everyone Wanting To Build Linux From Windows But Having Issues, Please Read #12

@EverlyScott

Description

@EverlyScott

Currently https://service.electron.build is offline (and has been for months), so here is a solution you can use while the server is offline:

  1. Install WSL (this guide is going to use Ubuntu 20.04, you can follow this guide to install it)
  2. Launch the WSL terminal
  3. Install npm with this command (might be installed by default, can't remember): sudo apt install npm and enter your password
  4. Go to your project folder with this command: cd /mnt/<drive letter>/<project location>, for example: cd /mnt/d/Project/sample project
  5. Run: npm i electron-builder -g
  6. Then build your project with: electron-builder -l

And it should build into your dist/ folder unless you've changed it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions