Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Apr 5, 2024
1 parent b0bcf5a commit b6a236b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/electron/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Electron Development Instructions
# Electron Development Instructions

Unlike the Android and Apple clients, the Windows and Linux clients use the Electron framework, rather than Cordova.

Expand Down Expand Up @@ -27,26 +27,26 @@ To run the Electron clients, run:
npm run action electron/start [windows|linux]
```

### Windows
## Windows

To build for Windows on a macOS, you need to install minGW v11.0.1.
To build for Windows on a macOS, you need to first install [MinGW-w64](https://www.mingw-w64.org/) v11.0.1+.

With Homebrew (how to ensure consistent version?):
With [MacPorts](https://www.mingw-w64.org/downloads/#macports) (official channel):

```
brew install mingw-w64
```sh
sudo port install x86_64-w64-mingw32-gcc @11.0.1
```

With [MacPorts](https://www.mingw-w64.org/downloads/#macports):
With Homebrew (unofficial, how to ensure consistent version?):

```
sudo port install mingw-w64
```sh
brew install mingw-w64
```

On Ubuntu:
You can also build it on Ubuntu. To install MinGW-w64:

```
apt update && apt install -y gcc-mingw-w64
```sh
apt update && apt install -y gcc-mingw-w64-x86-64
```

To build the _release_ version of Windows installer, you'll also need:
Expand Down

0 comments on commit b6a236b

Please sign in to comment.