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
- Downloads a community Wine build for supporting libraries, Mono and Gecko.
- Compiles the Swift app.
- Builds Wine 11.21 from WineHQ's source with ExeFlow's patches.
- 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.