From c6fa4a0e67ea0ea861ce3b5ed3fa0008df63d34f Mon Sep 17 00:00:00 2001 From: Yaw Anokwa Date: Sun, 22 Jul 2018 14:34:31 -0700 Subject: [PATCH] Less error prone packaging instructions --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2713b17..cdc1718 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,9 @@ To run the app, `python src/main.py` ## Package -The easiest way to package is to use a macOS machine running a Windows 10 virtual machine. Share the `xlsform-offline` folder on the Mac with Windows, then mount that folder as the Z drive with `pushd "\\vmware-host\Shared Folders\xlsform-offline\"`. +The easiest way to package is to use a macOS machine running a Windows 10 virtual machine and a macOS virtual machine. Both VMs should have Python installed natively (no virtualenv, no pyenv) to minimize problems with pyinstaller. -1. In the macOS machine, run `./make-mac.sh` to build the Mac binary. -1. In the Windows virtual machine, run `make-win.bat` to build the Windows binary. -1. Finally, in the macOS machine, run `./make-dist.sh` to zip up the Mac and Windows binaries. +1. In the macOS VM, run `./make-mac.sh` to build the Mac binary. +1. In the Windows VM, run `make-win.bat` to build the Windows binary. +1. Copy the resulting binaries into the `dist/mac` and `dist/win` folders on the host machine. +1. On the host machine, run `./make-dist.sh` to zip up the Mac and Windows binaries.