Skip to content

Infocus v 0.1 Preview

Pre-release
Pre-release
Compare
Choose a tag to compare
@bartreardon bartreardon released this 22 Oct 00:19
· 10 commits to main since this release

Includes the cli app (for macos 11 or older) inside the app bundle.

on macos 10.15 and 11 run /Applications/infocus.app/Contents/Resources/infocuscli

on macOS 12 run /Applications/infocus.app/Contents/MacOS/infocus

So why are there two versions?

In order to read focus preferences under macOS 12 the app needs to run within the App Sandbox. This prevents the pre-macOS 12 code from reading the do not disturb plist, even if the cli app is called automatically it will be within the sandbox. Running infocuscli directly does not incur the sandbox restriction.

To run the app bundle for the first time, extract and run xattr -d -r /your/path/infocus.app or double click to launch, then open System Preferences -> Security $ Privacy -> General and click the "Launch Anyway" button.