Repository navigation
BenchBar 0.8.3
Update
Already using BenchBar? In the app, click Update Now in the update banner or the menu bar menu (BenchBar 0.6 and later check once a day). On 0.5.x, run this in Terminal:
curl -fsSL https://raw.githubusercontent.com/askysh/benchbar/main/install.sh | bash -s -- --yesIt updates the benchbar CLI in ~/.local/share/benchbar and the app in ~/Applications, quits a running BenchBar first and never touches a bench. From 0.6 on, benchbar self-update runs the same. If your benchbar is a git checkout of your own, git pull there and add --app-only.
Installed with Homebrew? Run brew upgrade, or click Update Now in the app: from 0.7.1 the app carries its command line tool, and Homebrew's benchbar hands off to it, so either way updates both. The tap gets a release a few minutes after it is published.
Changes
0.8.3 is a fix pass for Windows from a full review and a live test on a
Windows 11 PC. Getting from nothing to a running bench has fewer dead ends, and the
installer, benchbar.exe, the tray and the command line tool in WSL say
what is wrong and how to fix it.
Windows installer
- The installer stops before it writes anything when Smart App Control is on, and says what to do. It also stops early in Constrained Language Mode.
- It removes the "downloaded from the internet" mark from the files it installs, so a zip install no longer shows "The publisher could not be verified" at every start.
- A first install adds a Start menu shortcut, offers to install the .NET 10 Desktop Runtime with winget, starts the tray and ends with the next step.
- It finds the newest release that has a Windows zip, works through a proxy, and still works when GitHub's API is rate limited.
- When a security product removes a file, it says so and names Windows Security > Protection history.
install.ps1 -Uninstallremoves BenchBar for Windows: tray, keepalive task, shortcuts, PATH entry and files. It never touches WSL, your distro or your benches.
benchbar.exe
- Upgrading
benchbar.exenow also updates the command line tool inside WSL:setup checkanddoctorshow when the two releases differ, andsetup run cli_installbrings the tool up to date. - A Docker Desktop, Rancher Desktop or Podman distro is never picked on its own. If your WSL default is one of them, BenchBar uses your one other distro, or asks you to choose with
benchbar.exe adopt-distro NAME. - Setup checks that the distro is Ubuntu 24.04 before anything is installed. If you already have one Ubuntu 24.04 distro, setup uses it and does not install a second one.
- Commands that talk to WSL no longer hang for good when
wsl.exedoes not answer. They stop with a message and the fix. - A failed WSL install shows its error code with advice: virtualization off in the firmware, network or proxy, a policy or a stopped service.
- A failed download of the installer says why, and your Windows proxy settings are passed into WSL.
benchbar.exe adopt C:\pathand other drive and\\wsl.localhostpaths now work as arguments.benchbar.exe path removetakes the install folder out of your user PATH.doctorwarns about WSL networking settings that stop a site opening atlocalhost, a keepalive task that runs an old copy, a tray that Windows has turned off at logon, and files a security product may have removed.setupneeds Windows 10 22H2 or later, tells you to choose Restart (not Shut down) when a restart is needed, and can convert a WSL 1 distro (setup run distro_wsl2).- A
config.jsonwritten by Windows PowerShell (UTF-16) is read, and a broken file names its path and the fix. benchbar.exehas a version resource: company, product, description and version.
Updating on Windows
benchbar.exe self-updateupdates BenchBar for Windows in one step:benchbar.exe, the tray app and the BenchBar CLI in WSL, all to the same release. It shows the plan, asks once (--yesskips the question), runs the one line installer for you and ends with one line for each part.benchbar.exe self-update --checkshows the version you have, the newest release and the CLI in WSL, and changes nothing.--jsongives the same as one JSON document.- A keepalive task moves to the new
benchbar.exeafter an update, so the old program does not keep running. - Running the installer over an existing install is an update: it no longer adds a Startup shortcut or opens the setup again, and it ends with the version it updated from and to. A first install says plainly to open "BenchBar" from the Start menu.
- When the CLI in WSL is newer than
benchbar.exe,doctorandsetup checknow namebenchbar.exe self-updateas the fix. - The tray has Update Now in the BenchBar window, the flyout, the tray menu (Update to X) and About. It runs the update in its own window, which stays open with the result. Copy Update Line is still there under Other Ways.
- After an update, BenchBar says "BenchBar was updated to X" once, with a What's New link.
- The installer now replaces the files all or nothing. When one file cannot be replaced (a program holds it open), it puts every old file back, names the file and says that nothing was changed, and a tray app it closed starts again. Before, such an update could leave a new
benchbar.exenext to old tray files.self-updatethen shows the installer's error, says when nothing was changed and gives the command to try again. - The first time a BenchBar window closes, a notification says BenchBar is still running near the clock and can be opened from the Start menu.
Windows tray
- The PC stays awake while a setup or install runs.
- The setup wizard opens on a PC that has WSL but no usable Ubuntu distro, comes to the front when BenchBar opens it, resumes in the right flow after a restart, and names the Linux user it will create.
- A notice says when
benchbar.exeand the tray are different versions, and the flyout shows the running version. An unreadable answer frombenchbar.exenames a version mismatch as the likely cause. - A setup step the tray does not know yet is shown and can be run.
- Stop or a timeout during an install waits for the old run to end before the next try.
- A notice appears when BenchBar closed unexpectedly last time, with Report a Bug.
- The update notice appears only when the Windows download exists, and copies the one line installer for PowerShell.
- "Open BenchBar at logon" shows off when Windows has switched the startup entry off, and turning it on clears that.
- The flyout opens on the monitor you clicked. Polling slows down while the window is minimized or in the background.
- A new site's Administrator password needs at least 8 characters, no password may hold a line break, and passwords are hidden in log lines in every form.
- Clearer messages when
benchbar.exeis missing, blocked by Smart App Control, or access is denied. - Red and amber text are darker, and high contrast uses system colors.
Linux and WSL
installchecks before it asks for sudo: systemd running, ports held by Windows programs, github.com reachable, and a bench folder on the Windows drive (refused unless--allow-windows-fs). Low WSL memory, low Windows disk space and unreachable package hosts show as warnings in the plan.- A bench init that was stopped or timed out, with no site and no app of your own, is moved aside and started again by the next install.
BENCH_INIT_TIMEOUT_SECONDSsets how long init may run, and init now reports progress in the JSON stream. - apt runs without questions, waits for another apt's lock, and keeps your proxy. Package downloads retry on a slow network.
installturns on lingering for your user, and says clearly when the systemd user manager is not reachable.- PDF printing now works on arm64 Linux. Other architectures get a warning.
doctor --prerequisiteswarns about too few file watchers. A password with a line break is refused before any work.- The install plan JSON has a new
warningslist next toblockers. doctorno longer says "nothing listens on 3306: MariaDB is not running" while the apt MariaDB runs. A regular user cannot see who owns its socket, and the check took that for no server, so every fresh install ended with a warning.
Sharing
- Guests can also open an app whose front end is not on the apps screen and
only routes/x/<path:app_path>to its own page (for example
/engineering-change). Before, the share gateway refused it as "isn't
available through sharing".
Docs and releases
- Windows docs: what Windows may show per install route, an "If Windows blocks it" guide, how to verify a download, update and uninstall, and troubleshooting. The Windows programs are not signed yet, and the docs say what that means.
- Windows releases after 0.8.2 carry build provenance:
gh attestation verify benchbar-windows-VERSION-ARCH.zip -R askysh/benchbar. - The release workflow can require signed files (
SIGNING_REQUIRED), gives test builds a development version, and runs the installer test before every release.
Signed with a Developer ID and notarized by Apple. Install with Homebrew:
brew install askysh/tap/benchbar askysh/tap/benchbar-appor with the DMG, or with the one line installer:
curl -fsSL https://raw.githubusercontent.com/askysh/benchbar/main/install.sh | bashChecksums are in SHA256SUMS.
Windows
Install for the current user (needs WSL 2 with Ubuntu 24.04):
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/askysh/benchbar/v0.8.3/install.ps1))) -Version 0.8.3Downloads (each zip also holds README.txt and SHA256SUMS):
- benchbar-windows-0.8.3-amd64.zip (benchbar.exe and the tray app)
- benchbar-windows-0.8.3-arm64.zip (benchbar.exe and the tray app)
- benchbar-windows-0.8.3-SHA256SUMS.txt
Check a download: gh attestation verify benchbar-windows-0.8.3-amd64.zip -R askysh/benchbar (build provenance), or compare its SHA256 with the sums file.
Not code signed yet: benchbar.exe, BenchBar.Tray.Core.dll, BenchBarTray.dll, BenchBarTray.exe. Smart App Control blocks unsigned programs (the installer stops before it writes anything and says what to do). Without Smart App Control, Windows may ask you to confirm the first start of a program; the one line installer removes that question.
Third party files without a signature (not signed by this project): H.GeneratedIcons.System.Drawing.dll, H.NotifyIcon.dll, H.NotifyIcon.Wpf.dll.