India · Dubai · Delivering worldwide+91 86603 71224info@pyalm.com
Pyalm Labs logo
ExeFlow

How to Build ExeFlow from Source on a Mac

Step-by-step guide to building the free, open-source ExeFlow app from source on an Apple silicon Mac: requirements, commands, tests and common problems.

Editorial disclosure: Pyalm publishes and maintains the products and free tools discussed on this site. Regulatory statements are linked to primary sources where applicable. No independent professional review is claimed unless a reviewer is explicitly named.

ExeFlow is open source, so you can build the complete standalone app yourself while the ready-made download is being prepared.

What you need

  • A Mac with macOS 14 or later. Apple silicon is the tested platform.
  • Xcode 26
  • Rosetta
  • Homebrew
  • Patience: the first build compiles all of Wine.

Build it

Install the tools:

brew install mingw-w64 bison freetype gnutls sdl2

Get the source and build:

git clone https://github.com/FadhilAbdulla/ExeFlow.git
cd ExeFlow
scripts/bundle.sh && open dist/ExeFlow.app

The result is dist/ExeFlow.app, signed only for local use. The script is short, so read it before running it.

What the script does

  1. Downloads a community Wine build for supporting libraries, Mono and Gecko.
  2. Compiles the Swift app.
  3. Builds Wine 11.21 from WineHQ's source with ExeFlow's patches.
  4. Packs everything in one app and signs it locally.

Later builds reuse the compiled Wine unless a patch changes.

Run the tests

swift test

For engine changes there's also a compatibility suite in Tests/compat. The README shows how to run it.

The patches

Patch Fixes
wow64cpu-rosetta 32-bit crashes under Rosetta
winemac-deadlock A deadlock between window locks
winemac-app-name Shows the program's name in the Dock

Common problems

  • "Quit ExeFlow first". Close the app and its Windows programs, then build again.
  • Wrong Xcode. Set DEVELOPER_DIR if yours isn't in Applications.
  • Bison too old. Use Homebrew's version, not the one in macOS.
  • Upgrading. Moving an environment that has Microsoft .NET to a newer Wine can stall. That's a known open problem, so back up saved files.

Contribute

Issues and pull requests are welcome. Run the tests first. ExeFlow's code is MIT; the Wine patches are LGPL 2.1 or later.

Frequently asked questions

Can I give my build to others?

The licenses allow redistribution on their terms. Keep the notices and patches, and remember that a local build isn't notarized, so macOS will warn other users.

Does it work on Intel Macs?

It compiles, but has never been run on one. Reports are welcome.

---

Try ExeFlow

ExeFlow is a free, open-source native Mac app from Pyalm for opening Windows .exe and .msi files. No virtual machine and no Windows license for ExeFlow itself. The ready-made download is being prepared; the full source is on GitHub today.

Get ExeFlow · Build it from source · All ExeFlow guides

Windows and .NET are trademarks of Microsoft. Mac, macOS and Rosetta are trademarks of Apple. ExeFlow is not affiliated with Microsoft, Apple or WineHQ.

Keep reading

More from Pyalm

Nov 25, 2026

How to Run Windows Programs on a Mac: 5 Ways Compared (2026)

Compare the five ways to run Windows programs on a Mac: compatibility apps such as ExeFlow, virtual machines, Boot Camp, remote desktop and cloud PCs. See which one fits your program.

Nov 25, 2026

How to Open EXE Files on a Mac (Without Installing Windows)

Learn why a Mac can't open .exe files by default, how to open one with ExeFlow in a few steps, what the compatibility messages mean and which programs won't run.

Nov 25, 2026

How to Open and Install MSI Files on a Mac

What an .msi file is, how it differs from an .exe, how to install one on a Mac with ExeFlow, and what to do when a Windows installer needs drivers or .NET.

Nov 25, 2026

Run Windows Apps on a Mac Without a Virtual Machine

How a compatibility layer runs Windows apps on a Mac without installing Windows, how it compares with a virtual machine, and when each choice makes sense.

Nov 25, 2026

Introducing ExeFlow: Free, Open-Source Windows App Runner for Mac

ExeFlow is Pyalm's free, open-source native Mac app for opening Windows .exe and .msi files. See how it works, what it can run today and what it can't.

Nov 25, 2026

Wine on Mac Explained: How It Runs Windows Software

A plain-English guide to Wine on macOS: what it is, how it differs from emulation, what a prefix is, why some apps fail, and easier ways to use it.

Open Windows Programs on Your Mac

ExeFlow is Pyalm's free, open-source Mac app for Windows .exe and .msi files. No virtual machine.

Get ExeFlow About ExeFlow