HaloLock

v1.3.196

| macOS 12+ |

功能

●

一键保持唤醒

圆形按钮常驻桌面,开启后阻止显示器休眠与自动锁屏;可无限期或按倒计时保持。

◷

定时锁屏与关机

支持倒计时和定点两种模式,可定时锁屏、定时关机、注销、重启或立即关机。

!

预警与取消

锁屏前 10 秒、关机前 1 分钟弹窗预警并播放提示音,随时可以取消或立即执行。

⌘

菜单栏 / 托盘常驻

状态点随保持唤醒状态切换红/绿,左键切换、右键打开完整功能菜单,靠近屏幕边缘自动翻转。

◐

主题与透明度

跟随系统 / 浅色 / 深色主题;鼠标离开 1.5 秒后按 5%~95% 档位平滑淡出。

↗

桌面增强

窗口置顶、鼠标穿透、模拟鼠标活动、阻止系统睡眠、开机自启动,均可从菜单开关。

🍜

吃什么

从本地 900+ 道菜中随机挑选 40 道组成词云,支持公司饭堂与八大菜系筛选,点菜名即可复制。

◎

原生、无障碍、轻量

macOS 使用 AppKit + CoreGraphics,Windows 使用 Win32 + Direct2D;支持 VoiceOver / 讲述人,不依赖 Electron、WebView 或第三方运行时。

下载

HaloLock for macOS
v1.3.196
macOS 12 Monterey 及以上 · Apple Silicon / Intel · DMG
SHA256
HaloLock for Windows
v1.3.196
Windows 10 / 11 x64 · 单文件 EXE · 无需安装
SHA256

macOS 下载后拖入「应用程序」;Windows 直接运行 EXE。首次使用锁屏与电源操作时,系统会请求辅助功能 / 自动化权限。

v1.3.196
2026-12-03

统一 master

  • 合并 macOS 与 Windows 两条产品线:共享 src/core、src/app、官网、更新日志与部署工具
  • 平台代码分别放在 mac/ 与 win/,两边共用同一套服务状态机与测试
  • 官网改为双平台下载:macOS DMG 与 Windows x64 单文件 EXE
  • CMake 按平台分发,支持 macOS 本机构建、Windows MSVC/MinGW 构建以及 macOS 上的 MinGW 交叉编译

功能

  • 保持唤醒、倒计时/定点锁屏、关机预警、注销/重启/立即关机
  • 菜单栏 / 系统托盘常驻、11 档闲置透明度、鼠标穿透、模拟鼠标活动、阻止系统睡眠、开机自启动
  • 主题跟随系统 / 浅色 / 深色;中英文即时切换;「吃什么」词云
  • macOS 使用 AppKit / CoreGraphics,Windows 使用 Win32 / Direct2D,均支持无障碍树

测试与质量

  • 13 组共享单元测试;macOS 真实 .app 端到端测试与截图回归
  • Windows MinGW / MSVC 构建与单元测试;PE 导入兼容性检查
  • 分层检查确保 core / app 不依赖 AppKit、CoreGraphics 或 Win32

兼容性

  • macOS 12 Monterey 及以上;Apple Silicon 与 Intel
  • Windows 10 / 11 x64
  • 锁屏与电源操作首次使用需授予辅助功能 / 自动化权限

Unified master

  • Merged the macOS and Windows product lines: shared src/core, src/app, website, changelog and deployment tooling
  • Platform code lives in mac/ and win/; both share the same service state machine and tests
  • The website now offers both downloads: a macOS DMG and a single Windows x64 EXE
  • CMake dispatches per platform; supports native macOS builds, Windows MSVC/MinGW builds and MinGW cross-compilation on macOS

Features

  • Keep awake, countdown/clock-time auto-lock, shutdown warnings, sign out/restart/shutdown now
  • Menu-bar / tray app, eleven idle-transparency levels, click-through, simulated mouse activity, system-sleep prevention and launch at login
  • Follow system / light / dark themes; instant Chinese/English switching; the food word cloud
  • AppKit / CoreGraphics on macOS and Win32 / Direct2D on Windows, both with accessibility trees

Testing

  • Thirteen shared unit suites; a real macOS .app end-to-end test and screenshot regression
  • Windows MinGW / MSVC builds and unit tests; PE import compatibility checks
  • Layer checks keep core / app free of AppKit, CoreGraphics and Win32 types

Compatibility

  • macOS 12 Monterey or later on Apple Silicon and Intel
  • Windows 10 / 11 x64
  • Accessibility/Automation permission is requested on first use of lock and power actions
v1.2.0
2026-11-19

已完成

  • 保持唤醒:阻止显示器休眠,支持无限期或倒计时保持
  • 锁屏回退、定时锁屏与定时关机,关机前 1 分钟弹出预警并实时倒数
  • 关机、重启、注销均有二次确认;开机自启动、单实例与更新检查
  • 自绘圆角、渐变、裁剪与文本;无边框透明窗口、圆外点击穿透、Retina
  • 中英文即时切换;核心逻辑与单元测试;CMake 拆分与 macOS CI

交互与视觉

  • 主按钮 26 DIP、阴影留白 6 DIP、菜单行高 34 DIP、根菜单宽度 176 DIP
  • 点击不出现焦点框;可点击元素悬停显示手型与可见反馈
  • 主窗口右键贴圆弹出,菜单栏右键跟随鼠标并在靠近屏幕边缘时翻转

Done

  • Keep awake by blocking display sleep; indefinite or countdown-based
  • Lock fallbacks, scheduled lock and shutdown, with a 1-minute warning popup and live countdown
  • Confirmations for shutdown, restart and sign out; launch at login, single instance and update checks
  • Custom rounded corners, gradients, clipping and text; borderless transparent windows, click-through outside the circle, Retina
  • Instant Chinese/English switching; core logic and unit tests; CMake targets and macOS CI

Interaction & visuals

  • 26 DIP button, 6 DIP shadow margin, 34 DIP menu row, 176 DIP root menu width
  • No focus ring on click; pointer cursor and visible hover feedback on every clickable element
  • Window right-click opens beside the circle; menu-bar right-click follows the cursor and flips near screen edges