Skip to content

CPA Widget v0.5.5

Choose a tag to compare

@blackstone2333 blackstone2333 released this 07 Aug 11:10
· 8 commits to main since this release
7dcb108

中文

新功能

  • 新增可配置的 macOS 菜单栏额度显示:全部账号、指定服务或指定账号范围。
  • 支持主配额与第二配额窗口选择,以及 10 种预设和自定义组合。
  • 新增双进度条、双行双额度进度条、环形进度和统一 16pt Provider Logo。
  • 菜单栏下拉面板可配置总额度、配额时间线和账号详情的显示与顺序。

修复与改进

  • 修复 Widget 账号选择失效、默认排序覆盖用户选择的问题。
  • Widget 手动刷新改用 App Intent,不再自动打开主应用。
  • 修复菜单栏图标/圆环/进度条异常放大、消失和布局裁切。
  • 主窗口改为单实例,避免“详情/设置”不断叠加重复窗口。
  • 自动刷新继续复用现有配额缓存;关闭主窗口后应用仍在后台运行。
  • Management Key 只在实际变化时写入钥匙串,减少重复授权提示。
  • “连接与显示设置”整条标题栏均可点击展开或收起。
  • 主应用与 Widget Extension 均为 Apple Silicon + Intel 双架构。

安装

  1. 下载并解压 CPA-Widget-v0.5.5-macOS-universal.zip
  2. CPA Widget.app 拖到 /Applications
  3. 本项目暂未使用 Developer ID 签名。确认文件来自本仓库后,如 macOS 阻止打开,请执行:
sudo xattr -rd com.apple.quarantine "/Applications/CPA Widget.app"
open "/Applications/CPA Widget.app"

公网 HTTP 会明文传输 Management Key。跨网络使用时请优先配置 HTTPS、VPN 或可信隧道。

已知限制

  • 部分 macOS 26 环境可能在台前调度或 Widget 编辑器中保留通用占位图标;Dock、应用功能和 Widget 数据不受影响。

English

New

  • Adds a configurable macOS menu-bar quota display for all accounts, one provider, or selected accounts.
  • Supports primary and secondary quota windows, ten presets, and a custom composer.
  • Adds dual progress bars, two-line quota bars, ring progress, and normalized 16pt Provider logos.
  • Makes quota summary, timeline, and account-detail sections configurable and reorderable in the menu panel.

Fixes and improvements

  • Fixes Widget account selections being replaced by the default ordering.
  • Widget refresh now uses an App Intent and no longer opens the host app.
  • Fixes oversized, missing, or clipped status-item logos, rings, bars, and two-line layouts.
  • Uses a single main window so Details and Settings cannot stack duplicate windows.
  • Keeps automatic refresh and the shared quota cache active after the main window closes.
  • Writes the Management Key to Keychain only when it changes, reducing repeated authorization prompts.
  • Makes the full Connection & Display Settings header clickable.
  • Both the host app and Widget Extension are universal Apple Silicon + Intel binaries.

Install

Download the ZIP, move CPA Widget.app to /Applications, and use the quarantine-removal command above only after verifying that the download came from this repository.

Public HTTP transmits the Management Key without transport encryption. Prefer HTTPS, a VPN, or a trusted tunnel across networks.

Known limitation

  • Some macOS 26 installations may retain a generic placeholder icon in Stage Manager or the Widget editor. Dock appearance, app functionality, and Widget data are unaffected.

SHA-256

98b80dfc704a8912e2fb65810045931da0944cb8d5b4b933728c225a1d24e896