From bdb136cf3e7b104d454c720589abe5b301618d2b Mon Sep 17 00:00:00 2001 From: Lexx-Agency-dev Date: Thu, 30 Jul 2026 20:04:32 +0700 Subject: [PATCH 1/2] Fix segment count to 7 for weekly (and optionally session) usage bar --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index bf30f88..5d133b8 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1048,7 +1048,7 @@ fn set_startup_enabled(enable: bool) { const SEGMENT_W: i32 = 10; const SEGMENT_H: i32 = 13; const SEGMENT_GAP: i32 = 1; -const SEGMENT_COUNT: i32 = 10; +const SEGMENT_COUNT: i32 = 7; const CORNER_RADIUS: i32 = 2; const LEFT_DIVIDER_W: i32 = 3; From aeddab4dbb1554d636b7f0670018da36f8c56110 Mon Sep 17 00:00:00 2001 From: Lexx-Agency-dev Date: Thu, 30 Jul 2026 20:29:09 +0700 Subject: [PATCH 2/2] Add manual workflow to build a release exe artifact via MSVC on CI Useful for grabbing a working binary without a local Windows SDK/MSVC install. --- .github/workflows/build-artifact.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build-artifact.yml diff --git a/.github/workflows/build-artifact.yml b/.github/workflows/build-artifact.yml new file mode 100644 index 0000000..f3730f8 --- /dev/null +++ b/.github/workflows/build-artifact.yml @@ -0,0 +1,20 @@ +name: Build Artifact (manual) + +on: + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - uses: dtolnay/rust-toolchain@stable + + - name: Build release binary + run: cargo build --release + + - uses: actions/upload-artifact@v4 + with: + name: claude-code-usage-monitor + path: target/release/claude-code-usage-monitor.exe