Repository navigation
glassbox 0.3.0
Changes
glassbox 0.3.0 extends persist on macOS to login items and background services that apps register for themselves.
- App-bundled background services. On macOS 13 and later, apps register launchd helpers through the Service Management framework. Their plists live inside the app bundle, not in
~/Library/LaunchAgentsor/Library/LaunchDaemons.persistnow hashesContents/Library/LaunchAgentsandContents/Library/LaunchDaemonsin every app bundle in/Applicationsand~/Applications. - Login-item helpers. Each helper app in a bundle's
Contents/Library/LoginItemsis watched through itsContents/Info.plist. - Background Task Management database. macOS rewrites this database when a login item or background service is registered, approved or removed.
persistcompares it as a whole; runsfltool dumpbtm(administrator) to see which item changed. - Symlinked app bundles are not followed. Linux is unchanged.
Install
With Homebrew:
brew install jacob-adm/tap/glassbox
Or download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.3.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.3.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.3.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.3.0-aarch64-unknown-linux-gnu.tar.gz |
The macOS binary is not notarized. If it was downloaded with a browser, clear the quarantine flag with xattr -d com.apple.quarantine glassbox, or build from source with cargo install --git https://github.com/jacob-adm/glassbox --tag v0.3.0.
Not on crates.io yet.