Skip to content

Releases

StayAwake 1.0.2

Choose a tag to compare

@NginxL NginxL released this 26 Sep 12:10

中文

修复多显示器下,点击菜单栏图标后面板出现在另一块屏幕或未显示的问题。

  • 所有菜单栏副本与 Dock 入口统一使用目标屏幕上的原生面板。
  • 重建窗口时保留界面状态,展开设置时重新计算面板尺寸和位置。
  • 统一处理重复点击、Esc、点击外部及桌面空间切换;关闭面板不会停止防休眠。
  • 新增双屏窗口回归检查,并更新中英文开发文档。

验证:核心与防休眠集成测试 22 个场景、102 项断言通过;在两块实际连接的显示器上,面板位置、尺寸、桌面空间及开关检查共 29 项通过。菜单栏实体点击仍需结合具体显示器配置验证。

下载 StayAwake-1.0.2-universal.zip,支持 Apple Silicon 与 Intel,要求 macOS 14 或更新版本。附带 SHA-256 校验文件。

English

Fixes multi-display cases where clicking a menu bar icon places the panel on another display or leaves it hidden.

  • Menu bar copies and the Dock share a native panel created on the requested display.
  • Window recreation preserves UI state; expanding settings recalculates panel size and position.
  • Consistent toggle, Escape, outside-click, and Space-change handling. Dismissing the panel does not stop sleep prevention.
  • Adds real-display regression checks and updates bilingual development documentation.

Validation: 22 core and power-assertion integration scenarios with 102 assertions passed; 29 panel placement, sizing, Space, and toggle checks passed across two physically connected displays. Physical menu bar clicks still require validation with the relevant display configuration.

Download StayAwake-1.0.2-universal.zip for Apple Silicon and Intel. Requires macOS 14 or later. A SHA-256 checksum file is included.

StayAwake 1.0.1

Choose a tag to compare

@NginxL NginxL released this 26 Sep 11:09

简体中文

修复多显示器环境下,点击菜单栏咖啡图标后面板出现在另一块屏幕的问题。

  • 在激活应用前记录点击位置,并以对应显示器定位面板。
  • 跨屏打开面板时重新定位;显示器配置变化后清除旧位置。
  • 保留定时、防休眠、屏幕常亮及 Dock 入口的现有行为。

验证:20 项核心与 macOS 集成场景、96 条断言通过;提供 Apple Silicon / Intel 通用安装包。

English

Fixes the menu bar panel opening on the wrong display in multi-monitor setups.

  • Capture the clicked display before activating the app and anchor the panel on that screen.
  • Re-anchor when switching displays and clear stale placement after display configuration changes.
  • Preserve existing timer, sleep prevention, display wake, and Dock behavior.

Validation: 20 core and macOS integration scenarios, 96 assertions passed. The universal app supports Apple Silicon and Intel Macs.

Download StayAwake-1.0.1-universal.zip; the matching .sha256 file is provided for integrity verification.

醒着 · StayAwake v1.0.0

Choose a tag to compare

@NginxL NginxL released this 25 Sep 15:40

首个正式版本:中文原生 macOS 菜单栏防休眠工具。

  • 定时 / 无限防休眠、自定义时长、菜单栏倒计时
  • 独立的屏幕常亮控制、登录启动、Dock 入口
  • 设置内检查 GitHub Releases 更新,校验后安装;替换失败时恢复旧版

适用:macOS 14+,Apple Silicon 与 Intel 通用安装包。

安装:下载 ZIP,解压并将 StayAwake.app 拖入「应用程序」。

验证:15 个场景、72 项断言通过;实际检查了系统防休眠请求、超时释放与强制退出清理。GitHub CI 构建通过。

安装包使用 ad-hoc 签名,尚未经过 Apple Developer ID 签名与公证;也可按 README 从源码在本机构建。