What's Changed
This update fixes an incorrect system clock reading, which is related to the mitigation added in v0.3.5.
How to Install
Option 1: Installation Script (Recommended)
bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
Option 2: Homebrew (If you prefer Homebrew)
brew install batt
sudo brew services start batt
How to Upgrade
Please use the same method (Installation Script / Homebrew) as you installed to upgrade batt. Using both methods will cause conflicts.
Option 1: Installation Script
bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
# Yes, the command is the same as installing.
Option 2: Homebrew
brew update
sudo brew services stop batt
brew upgrade batt
sudo brew services start batt
Compatibility
Upgrading to this version should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0
or build it by yourself.