Repository navigation
Conversation
…eck it
Xcode 27's compiler gives up on the one-line Rate(...) with its mixed integer
literals, Double conversions and ternary ("unable to type-check this expression
in reasonable time"), which broke every build of this package on that toolchain.
Three typed lets, same numbers.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…erwards The flag used to set a variable and let the app start, so a caller that only wanted the registration (build.sh install, or a hand run while the app was already open) got a second instance in the menu bar. It now registers, sets loginItemRegistered, prints the state and exits, like --disable-login-item. build.sh install runs it synchronously and then opens the app, so it no longer needs the sleep or the separate --login-item-status call. README follows. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
--enable-login-itemregisters the Login Item, setsloginItemRegistered, prints the state and exits, matching--disable-login-item.build.sh installruns the installed binary with the flag synchronously (its output is the status line) and then opens the app. Thesleep 1.5and the separate--login-item-statuscall are gone./Applicationsstill self-registers when the default is unset.LoginItem.swiftbullet describes the new sequence.Also in this PR: the package did not build on Xcode 27
The first commit splits the
--dump-chartfake-data expression into three typedlets. Xcode 27's Swift 6.4 compiler reports "unable to type-check this expression in reasonable time" on the one-liner, in both debug and release, onmainas it stands. Same numbers, same chart.Why
Running the installed copy with
--enable-login-itemwhile the app was already open started a second instance in the menu bar. Seen on 2026-09-14 in the sibling Leviton Bar while re-registering its Login Item after the macOS 27 upgrade dropped the record; Net Bar shares the code. Sibling PR: njoubert/nimbus-leviton-bar#2.Verified
swift buildandprek run --all-filespass on each commit..build/debug/NimbusNetBar --login-item-statusstill parses;--dump-chartstill renders the 896x256 PNG.build.sh install, which would quit the running copy. No per-tick code changed, so no load measurement.🤖 Generated with Claude Code