deploy.sh now assumes a real macOS distribution flow:
- build
MachOExplorer.app - run
macdeployqt - sign the
.appwithDeveloper ID Application - create the
.dmg - submit the
.dmgto Apple notarization - staple the notarization ticket
- verify with
codesign,spctl, andstapler
Required environment variables:
export CODE_SIGN_IDENTITY="Developer ID Application: Feng Zhu (YPV49M8592)"
export NOTARYTOOL_PROFILE="<keychain-profile>"Or use direct Apple credentials instead of NOTARYTOOL_PROFILE:
export APPLE_ID="<apple-id>"
export APPLE_TEAM_ID="<team-id>"
export APPLE_APP_SPECIFIC_PASSWORD="<app-specific-password>"Recommended notarization credential setup:
xcrun notarytool store-credentials "<profile-name>" \
--apple-id "<apple-id>" \
--team-id "<team-id>" \
--password "<app-specific-password>"Then run:
NOTARYTOOL_PROFILE="<profile-name>" ./deploy.shUse:
scripts/release_homebrew.sh --version 2.0.0 --dmg /path/to/MachOExplorer.dmgTest without pushing:
scripts/release_homebrew.sh --version 2.0.0 --dry-runDefault target tap:
everettjf/homebrew-tap- cask path:
Casks/machoexplorer.rb
For a classic "Next/Next/Finish" installer in 2026:
- Primary recommendation: Inno Setup (stable, lightweight, scriptable, easy CI automation).
- Enterprise/Store channel option: MSIX + winget.
This repo includes:
- Inno Setup script:
packaging/windows/MachOExplorer.iss - Build helper:
scripts/build_windows_installer.ps1 - Release helper:
scripts/build_windows_release.ps1
Windows packaging flow:
- Build
MachOExplorer.exewith CMake. - Run
windeployqtto stage Qt runtime files. - Run
isccto generate installer executable. - Optionally upload the installer + portable zip to the existing GitHub release tag.
Example on Windows after the macOS release is already published:
powershell -ExecutionPolicy Bypass -File scripts/build_windows_release.ps1 `
-QtBin "D:\Qt\6.10.2\msvc2022_64\bin"Notes:
- The script reads
src/libmoex/ver.hand uploads tov<version>by default. - It uploads two assets: a portable zip and the Inno Setup installer.
- Use
-SkipUploadto build/package without touching GitHub release assets. scripts/build_windows_installer.ps1auto-detectscmakeandisccfrom common Windows install paths when possible.- The Windows staging directory now includes the MSVC runtime DLLs in addition to the Qt runtime files.