To build the macOS application and create a .dmg installer:
chmod +x build_mac.sh
./build_mac.sh
The output .dmg will be located in target/release/MsProjectMerger.dmg.
To build the Windows .exe using Docker (cross-compilation):
chmod +x build_win_docker.sh
./build_win_docker.sh
The output .exe will be located in target/x86_64-pc-windows-gnu/release/MsProjectMerge-v1.0.0.exe.
You can test the Windows build on macOS using Wine:
# Install Wine (one-time setup)
brew install --cask wine-stable
# Note: On Apple Silicon Macs, Wine requires Rosetta 2
softwareupdate --install-rosetta --agree-to-license
# Test the Windows build
./test_windows.sh
Alternatively, see QEMU.md for running a full Windows VM.