Skip to content

LayoutKeeper 0.5.2

Choose a tag to compare

@tumingke0 tumingke0 released this 11 Oct 15:29
· 13 commits to main since this release

⚠️ 此版本安装包已下线,请下载最新版本 / Assets removed; please download the latest release: https://github.com/tumingke0/LayoutKeeper/releases/latest

LayoutKeeper 0.5.2

修复:应用图标在访达 / 启动台中显示为空白。 应用现在同时带有资源目录图标(Assets.car,macOS 26 及以上优先使用)和传统 AppIcon.icns。功能与 0.5.1 相同。

如果升级后图标仍是空白

这是系统图标缓存仍保留着旧的无图标版本:

  1. 先推出之前挂载的 LayoutKeeper 磁盘映像(访达侧边栏点 ⏏),尤其是 0.5.0 的。
  2. 在终端运行以下命令(只清理当前用户的程序坞图标缓存,系统会自动重建):
    rm -f "$(getconf DARWIN_USER_CACHE_DIR)com.apple.dock.iconcache"
    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/LayoutKeeper.app
    killall Dock Finder

下载哪个文件?

点屏幕左上角 苹果菜单 → 关于本机,看“芯片”(或“处理器”)一行:

你的 Mac 下载
芯片显示 Apple M1 / M2 / M3 / M4 / M5…(Apple 芯片) LayoutKeeper-0.5.2-AppleSilicon.dmg
处理器显示 Intel Core … LayoutKeeper-0.5.2-Intel.dmg

Intel 版说明: 交叉编译构建,已核对为 x86_64 架构、最低 macOS 14,但尚未在真实 Intel Mac 上测试。

安装 / 升级

先从菜单栏退出正在运行的 LayoutKeeper,打开 .dmg,把 LayoutKeeper 拖到“应用程序”文件夹并选择替换。

首次打开(未经 Apple 公证)

本版本为 ad-hoc 签名,未经 Apple 公证(not notarized)。任选一种方式:

  1. 在“应用程序”中右键(或按住 Control 点按)LayoutKeeper → 打开,再点“打开”。
  2. 或先双击一次,然后前往 系统设置 → 隐私与安全性,点 “仍要打开”。
  3. 或在终端运行:xattr -dr com.apple.quarantine /Applications/LayoutKeeper.app

辅助功能权限

需要“辅助功能”权限来读取和移动窗口(系统设置 → 隐私与安全性 → 辅助功能)。替换 ad-hoc 签名的旧版本后,系统可能要求重新打开该开关;若显示已打开但不生效,先用“−”移除 LayoutKeeper 再重新添加。

系统要求

macOS 14 或更新;跨桌面(Space)恢复需要 macOS 26 或更新(启动时自动检测)。


English

Fix: blank app icon in Finder/Launchpad. The app now ships an asset-catalog icon (Assets.car, preferred on macOS 26+) in addition to AppIcon.icns. Otherwise identical to 0.5.1.

  • Still blank after upgrading? Eject any mounted older LayoutKeeper disk images (especially 0.5.0), then run: rm -f "$(getconf DARWIN_USER_CACHE_DIR)com.apple.dock.iconcache", lsregister -f /Applications/LayoutKeeper.app (full path above), killall Dock Finder.
  • Which file? Apple menu → About This Mac. "Chip: Apple M…" → LayoutKeeper-0.5.2-AppleSilicon.dmg; "Processor: Intel…" → LayoutKeeper-0.5.2-Intel.dmg (verified x86_64 / macOS 14+, not tested on real Intel hardware).
  • Install/upgrade: quit the running copy, open the DMG, drag to Applications (replace).
  • First launch (not notarized): right-click → Open; or System Settings → Privacy & Security → "Open Anyway"; or xattr -dr com.apple.quarantine /Applications/LayoutKeeper.app.
  • Accessibility: after replacing an ad-hoc-signed build you may need to re-enable (or remove and re-add) LayoutKeeper in Privacy & Security → Accessibility.
  • Requirements: macOS 14+; cross-Space restore needs macOS 26+. GPL-3.0-only.