Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit 2c8f93e

Browse files
staticoclaude
andcommitted
Add version to status bar
Import package.json and display version next to help hint. Bun inlines JSON imports at build time so version auto-updates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent addb2d2 commit 2c8f93e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ui/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { toBinary, create } from "@bufbuild/protobuf";
2525
import { formatNodeId } from "../utils/hex";
2626
import { exec } from "child_process";
2727
import { setSetting } from "../settings";
28+
import packageJson from "../../package.json";
2829

2930
const BROADCAST_ADDR = 0xFFFFFFFF;
3031

@@ -2460,7 +2461,7 @@ export function App({ address, packetStore, nodeStore, skipConfig = false, skipN
24602461
const statusColor = status === "connected" ? theme.status.online : theme.status.offline;
24612462
const nodeCount = nodes.length;
24622463

2463-
const helpHint = "[?] Help";
2464+
const helpHint = `v${packageJson.version} [?] Help`;
24642465

24652466
// Show connecting screen
24662467
if (!transport) {

0 commit comments

Comments
 (0)