Skip to content

v2.5 — Rust server Start/Stop actually works

Choose a tag to compare

@vakandi vakandi released this 15 Oct 17:44
· 19 commits to main since this release

Start / Stop for the Rust server now works

Clicking ▶ Start Rust Server failed on any machine where EliaTopBar was not
launched from a terminal. The log said bun not found — run ./install.sh first,
which is misleading: bun was installed and working.

start.sh gates on command -v bun. A macOS .app is launched by launchd,
which gives it /usr/bin:/bin:/usr/sbin:/sbin — no ~/.bun/bin, no
~/.cargo/bin, no /opt/homebrew/bin. The script died at its first check.
Child processes now get a PATH built from the real install dirs, which also
un-hides jq: without it start.sh silently probed port 5680 instead of the
configured one.

Also fixed

  • Start could hang forever. Output was read through a pipe, but
    nohup bun server.ts inherits that pipe, so EOF never arrived and the menu
    stayed on "Starting…" indefinitely. Capture now goes to a temp file with a
    hard deadline, so every run ends in a verdict.
  • Stop left the server half-alive. It only matched the engine process, so it
    killed opencode serve and left the Bun bridge holding :5656 while the menu
    read "Stopped". It now drives the repo's stop.sh and then frees the port.
  • Failures showed the wrong line. The popup displayed
    proxy pool=100 entries — the last line printed, not the reason. It now
    extracts the script's own ERROR: line.

New Start / Stop popup

Same panel as Clean RAM, stuck to the menu bar: spinner and a live elapsed
counter while it works, then ✅ or ❌ with the reason, auto-dismissing.

Install

Unzip EliaTopBar-v2.5.zip for the .app directly, or use the DMG. Ad-hoc
signed and not notarized, so remove the quarantine flag if macOS refuses:

xattr -dr com.apple.quarantine /Applications/EliaTopBar.app

Note: brew reinstall --cask eliatopbar does not install this build — the
cask still points at an older version. Copy the app to /Applications instead.