Prevents Bluetooth audio devices from hijacking the default macOS microphone
How to publish a new MicGuard version to Homebrew.
Home · CLI Reference · Debugging · Integrations · Notifications
The app version is derived from the latest git tag at build time. scripts/bundle.sh runs git describe --tags and stamps the result into Info.plist via PlistBuddy. The source Info.plist contains a 0.0.0-dev placeholder — do not hardcode a version there.
git tag v<version>
git push origin v<version>
GitHub Actions builds the app and creates a release with MicGuard.zip. The tag determines the version embedded in the built app.
Once the release is published, compute the checksum:
curl -sL https://github.com/pszypowicz/MicGuard/releases/download/v<version>/MicGuard.zip | shasum -a 256
In the homebrew-tap repo, edit Casks/mic-guard.rb:
cask "mic-guard" do
version "<version>"
sha256 "<sha256 from step 2>"
url "https://github.com/pszypowicz/MicGuard/releases/download/v#{version}/MicGuard.zip"
# ...
end
Update both the version and sha256 fields, then commit and push.
brew update
brew upgrade mic-guard