Skip to content

v2.3.1

Choose a tag to compare

@wzh4869 wzh4869 released this 20 Nov 15:24
· 71 commits to main since this release

AppPorts v2.3.1 Build 80 更新说明(English below)

直链下载 · 赞助

总结

2.3.1 是一次紧随 2.3.0 的重点修复与体验补强版本:集中解决了老版本升级后的证书权限失效、手动替换安装导致后台更新守护卡死、微信容器内沙盒系统软链与跨目录硬链接等几处关键安全与升级问题,同时补齐了应用数据列表容量明细/排序和外部应用库总大小汇总,并修好了外观无法切回「跟随系统」的问题。

从 2.2.0 升级到 2.3.0 时,由于旧版签名证书到期更换,不少朋友遇到了系统设置里「App 管理」或「完全磁盘访问权限」开关明明开着、AppPorts 却一直提示缺权限的困扰。2.3.1 会在检测到签名证书更新且权限失效时,自动清理失效的旧版授权记录并弹窗直达对应系统设置,同时在「准备情况」页面提供手动**「清理旧版授权记录」**兜底按钮,不再需要自己摸索删除旧条目。

针对数据迁移中的真实边界场景,这次做了三项重要加固:一是发现微信的 msg/file 与 msg/attach 之间可能存在指向同一文件的硬链接,拆成独立卷会触发跨卷硬链接拒绝,因此停用了「仅大文件与视频(msg/file + msg/video)」的新迁移入口(已迁移账号仍完整保留挂载、解锁与还原能力);二是彻底过滤并拦截了微信容器内指向 ~/Library/* 的 macOS 沙盒系统软链,杜绝误点「还原」波及系统目录的风险;三是过滤了 Chrome / Edge / Electron 等软件的运行时锁文件伪软链,并在目标目录不存在时禁用「规范化管理」。

日常管理效率上,「应用数据」左侧列表现在直接展示每个应用的数据总大小、已迁移与本地容量明细,默认按「已迁移置顶 + 容量降序」排列并支持切换排序;「外部应用库」顶部也会直接汇总当前列表的应用总大小,省去逐行心算的麻烦。

升级提示

从 2.2.0 及更早版本升级后,若系统设置里权限开关亮着却仍提示未授权,2.3.1 会自动帮你清理失效旧记录并引导重新授权。
这意味着:你不再需要自己排查为什么开关反复开合都不生效。如果升级打开 2.3.1 后弹出「需要重新授予系统权限」,按提示将 AppPorts 拖入系统设置重新开启一次即可;如果「完全磁盘访问权限」仍残留旧版条目,可以在「准备情况」页点击**「清理旧版授权记录」**(清理系统级完全磁盘访问权限时会请求一次管理员授权),或在系统设置中选中旧条目点左下角 - 移除后再重新添加。已正常授权的老用户与新安装用户不会被打扰。

如果你此前是从 DMG / ZIP 手动拖入替换安装 2.3.0,升级到 2.3.1 后打开一次主程序即可自动接管并重启旧版后台「应用更新守护」。
这意味着:不需要再去活动监视器或终端里手动结束旧进程。另外从 2.3.1 起,新版「应用更新守护」在自身 .app 被挪走或替换时会主动等待当前任务结束并优雅退场,以后手动替换安装也不会再卡住迁移。

微信「仅大文件与视频(msg/file + msg/video)」不再接受新迁移,但已经用该模式迁出的账号完全可以正常挂载、解锁和还原。
这意味着:已经在 2.3.0 使用过该模式的朋友无需担心数据失联——照常连接原外置盘即可继续使用,或点「还原」完整迁回本机后再改用**「拆分迁移(msg + business)」或「全部迁移」**。

新功能

应用数据列表:直接展示容量明细与分组排序

以前进入「数据迁移 → 应用数据」时,左侧应用列表只显示应用名,想找哪个软件数据最占地方、已经迁走了多少,只能一个个点开等右侧扫完。2.3.1 将空间统计直接带到了左侧列表:

  • 容量明细一目了然:每个应用行右侧以等宽数字显示数据总大小;已有迁移数据的应用会在应用名下方同时标出**「已迁移 · 本地」**两段容量(窄栏自动按整项换行),不再混成一团。
  • 已迁移置顶 + 三种排序方式:搜索框旁新增排序菜单,支持**「按大小」(默认)、「默认」和「按首字母」**三种方式,并始终将已有迁移数据的应用置顶分组,两组内部各自独立排序,既方便先看已外置项目,也方便快速揪出占用最大的本地应用。
  • 缓存复用、轻负载且不抢磁盘:左侧批量统计只对 ~/Library 做一次轻量级索引,以低优先级双路并发在后台渐进更新,并与右侧详情共享本地展示缓存(二次打开几乎秒出);只要你发起迁移操作就会自动让路,迁移完成或外置盘插拔后自动失效重算。外置卷未连接、未解锁或已暂停时会明确标注「统计不完整」,不会写入虚假的 0 B。

外部应用库头部:实时汇总当前列表应用总大小

「外部应用库」顶部标题栏在应用数量之后新增了总大小汇总(例如 50 个应用 · 68.4 GB):

  • 直接复用现有应用体积缓存,不增加额外磁盘扫描;尚未扫完的条目会显示「计算中...」或「(统计中)」,后台测完一项即实时更新。
  • 随搜索关键字及「全部 / 已链接 / 未链接」筛选条件同步变化,看到的数字始终与当前列表里的应用一致。

修复

权限授权与后台更新守护

签名证书更新后,系统设置里权限开关亮着却反复提示缺少权限 — 当旧版签名证书过期更换时,macOS 会保留旧证书留下的权限开关外观,但拒绝新版进程的权限校验。2.3.1 在启动时按当前应用签名指纹仅检测并清理实际失效的旧记录(不动已正常生效的权限,且同一证书最多自动处理一次;若清理活动记录触发系统关闭进程,会自动重新拉起主程序并续接提示),随后弹出「需要重新授予系统权限」直达对应设置页;「准备情况」面板也补充了手动**「清理旧版授权记录」**入口作为兜底,新增引导与错误提示均已覆盖全部 22 种界面语言。

手动替换安装 AppPorts 后,旧版「应用更新守护」残留导致所有迁移被阻塞 — 此前从 DMG / ZIP 直接替换 /Applications/AppPorts.app 或将旧包移入备份目录时,内存中残留的旧版更新守护进程可执行路径失效,既导致新版启动同步后台代理时陷入死锁,也会触发写入准入拦截,使所有应用和数据迁移报错「运行实例的启动时间或可执行文件路径暂不可读」。现在启动同步后台代理不再与旧守护互相卡死,会自动卸载陈旧进程、等待其退出并拉起新版;同时新版更新守护会实时监听自身 .app 包和可执行文件的移动/替换事件,第一时间等待在途任务结束并自行优雅退场。

微信与沙盒应用数据安全

停用微信「仅大文件与视频(msg/file + msg/video)」新迁移,并完整保留历史账号还原 — 实测发现微信的 msg/file 与 msg/attach 之间可能共享指向同一文件的硬链接,将 msg/file 单独迁往独立 APFS 卷时会因硬链接跨出迁移边界而被安全校验拒绝。2.3.1 在微信账号迁移弹窗中保留**「全部迁移」与「拆分迁移(msg + business)」**(整个 msg 位于同一卷内,可完整保留内部硬链接),同时完整保留历史 msg/file + msg/video 记录(包括仅迁出单个成员的账号)的识别、挂载、解锁与还原能力。

过滤微信容器内 macOS 沙盒系统软链并禁止还原或解绑 — macOS 沙盒容器的 Data/Library/ 下默认包含二十多条指向用户真实 ~/Library/ 目录的系统便捷软链(如 Mail、Keychains、Dictionaries、Sounds、Application Support/iCloud、SyncServices 等)。此前微信的专属目录策略导致这些系统软链绕过过滤,被显示为「现有软链」并附带「还原」按钮,误点可能把真实 ~/Library/* 目录搬入微信容器或对悬空系统软链误报「外部存储目录不存在」。2.3.1 在模型、扫描、界面与执行四层统一识别并拦截这类 macOS 沙盒系统软链,既从列表彻底隐藏,也在执行层严禁对其还原、建链或强制解绑,同时不影响指向外置盘的真实历史迁移软链。

过滤 Chromium / Electron 运行时伪软链,并校验「规范化管理」目标目录 — Chrome、Edge 与各类 Electron 应用会在 ~/Library/Application Support/ 下用符号链接存放版本号和实例锁(如 RunningChromeVersion、SingletonLock、SingletonCookie、SingletonSocket 等无路径目录的单段目标)。2.3.1 在扫描阶段自动过滤这类运行时伪软链(继续保留指向 /Volumes/... 等真实外置路径的离线断开软链,方便查看或强制解绑);点击「现有软链」时若目标缺失、为普通文件或嵌套软链,会明确提示缺失路径并禁用「规范化管理」按钮,避免误点报错。

界面外观

外观从浅色或深色切回「跟随系统」后不生效,且次级窗口不跟随外观设置 — 修复了 macOS 上从显式深色/浅色切回「跟随系统」时主窗口停留在旧外观的问题,并改为统一同步整个应用的外观设置,让主窗口、「关于」窗口、诊断导出面板、权限引导浮窗和系统弹窗在启动首帧与切换时保持一致,且切换外观不再重置当前扫描状态。

已知限制

  • 证书更新后重新授权仍需在系统设置中完成一次手动开启。 受 macOS 安全机制限制,应用无法在后台替自己勾选系统权限;在部分 macOS 版本上,系统级的「完全磁盘访问权限」旧条目需要在「准备情况」页点击「清理旧版授权记录」并确认一次管理员授权,或在系统设置里手动点 - 删除后再重新添加。
  • 微信如需把聊天图片(msg/attach)留在内置硬盘,目前需保留整个 msg 在本地。 如需搬走微信聊天媒体释放空间,建议使用**「拆分迁移(msg + business)」**,确保 msg 内部硬链接留在同一块 APFS 卷中。
  • 容量统计数值仅供界面展示参考。 应用数据列表的展示缓存若在目录本体不变、仅内部嵌套文件增减时可能保持旧值,点击刷新即可重新统计;外部应用库头部总大小为当前列表各应用包的逻辑文件字节汇总,不等同于 APFS 物理块占用或本机实际释放空间。

AppPorts v2.3.1 Build 80 Release Notes (English)

Direct Download · Sponsor

Summary

2.3.1 is a focused reliability and usability follow-up to 2.3.0: it fixes stale macOS permission records after signing-certificate renewal, eliminates background update-guardian deadlocks after manual drag-and-drop upgrades, hardens WeChat and sandbox symlink safety, adds per-app data size breakdowns and sorting in App Data plus a total size summary in the External Drive header, and fixes switching appearance back to System.

When upgrading from 2.2.0 to 2.3.0, the signing certificate had to be renewed because the previous one expired. As a result, many returning users saw App Management or Full Disk Access still toggled ON in System Settings while AppPorts kept reporting missing permissions. In 2.3.1, AppPorts detects certificate changes with invalid permissions on launch, automatically clears stale broken records, guides you directly to the right System Settings pane, and provides a manual Clear Legacy Permission Records button in Readiness Check.

Three important data-safety fixes also land in this release: first, because WeChat can store hard links shared between msg/file and msg/attach, splitting them across separate volumes triggers cross-volume hard-link rejections — so new migrations using "Large files & videos only (msg/file + msg/video)" have been disabled while full mount, unlock and restore support is preserved for existing accounts; second, macOS sandbox system symlinks inside WeChat's container pointing to ~/Library/* are now filtered out and strictly blocked from restore or unlink; third, Chromium/Electron runtime pseudo-symlinks (like SingletonLock) are filtered out of App Data scans and Normalize Management is disabled whenever a link target is not an actual directory.

For everyday storage visibility, the App Data sidebar list now shows each app's total data size alongside a Migrated · Local breakdown, pins migrated apps to the top, and lets you sort by size, default order or alphabetically. The External Drive header also summarizes the combined size of the currently listed apps in real time.

Upgrade Notes

Upgrading from 2.2.0 or earlier and seeing missing permissions even though the switch is ON? 2.3.1 clears stale records and guides you through re-granting them.
What this means for you: you no longer have to guess why toggling an old switch off and on does nothing. If System Permissions Need to Be Granted Again appears after opening 2.3.1, follow the prompt to drag AppPorts into System Settings and re-enable it. If an old Full Disk Access entry remains stuck, open Readiness Check and click Clear Legacy Permission Records (which requests one administrator confirmation for system-level Full Disk Access), or select the old entry in System Settings, remove it with -, and add AppPorts again. First-time users and already-authorized setups are untouched.

If you manually replaced AppPorts.app from a DMG/ZIP over 2.3.0, simply launch 2.3.1 once to cleanly retire the old background "Application update guardian".
What this means for you: no more manually killing lingering background processes in Activity Monitor or Terminal. Starting with 2.3.1, the update guardian also watches its own app bundle and exits cleanly as soon as it is moved or replaced, preventing future manual upgrades from blocking migrations.

New WeChat migrations using "Large files & videos only (msg/file + msg/video)" are disabled, while existing accounts keep full mount, unlock and restore support.
What this means for you: if you already migrated an account with that mode in 2.3.0, your data remains accessible as before — connect your external drive to keep using it, or click Restore to bring it back to your Mac and optionally switch to Split migration (msg + business) or Migrate everything.

New Features

App Data List: Size Breakdowns and Grouped Sorting

Previously, the left-hand app list under Data Migration → App Data only showed app names, requiring you to click each app one by one to see how much space its data used. 2.3.1 brings storage visibility directly into the list:

  • Per-app size & migrated/local split: each row displays total data size in monospace digits on the right; apps with migrated data also show Migrated · Local figures directly under the app name (wrapping cleanly by item in narrow sidebars).
  • Migrated apps pinned + 3 sort modes: a new sort menu beside the search field lets you switch between By Size (default), Default, and Alphabetical, while always keeping apps with migrated data grouped at the top and sorting each group independently.
  • Fast, lightweight, and migration-aware: batch sizing indexes ~/Library in a single lightweight pass, runs in the background with low-priority 2-way concurrency, and shares a persistent display cache with the right-hand detail pane for near-instant repeat loads. It automatically pauses whenever a migration is running and invalidates cached sizes after migrations or volume mount/unmount events. Offline, locked or paused volumes are clearly marked incomplete instead of caching a false 0 B.

External Drive Header: Total Size of Listed Apps

The External Drive header now displays the combined size of the currently visible apps right next to the app count (for example, 50 apps · 68.4 GB):

  • Reuses the existing app-size cache with zero extra disk scans, showing Calculating... or (calculating) and updating live as background measurements finish.
  • Stays in sync with your search query and All / Linked / Unlinked filters so the total always matches the apps currently shown.

Fixes

Permissions and Background Update Guardian

Valid-looking System Settings switches stayed broken after signing-certificate renewal — When an older signing certificate expires and a new release is signed with a renewed certificate, macOS still shows the old AppPorts toggle enabled in System Settings while rejecting the new build's signature. On launch, 2.3.1 now checks and clears only actually invalid permission records per signing identity (never touching working permissions, and running at most once per certificate; if macOS terminates AppPorts while resetting an active permission, it automatically relaunches and presents the prompt), then opens System Permissions Need to Be Granted Again with direct links to System Settings. Readiness Check also adds a manual Clear Legacy Permission Records button as a fallback, with all new prompts and error messages translated across all 22 supported languages.

Manually replacing AppPorts.app left an old "Application update guardian" running and blocked all migrations — Dragging a new build over /Applications/AppPorts.app (or moving the old bundle to a backup folder) left the previous update-guardian process running with an unreadable or mismatched executable path. Opening the new version then deadlocked while reloading background agents and caused subsequent app/data migrations to fail with a background writer compatibility error. Background-agent synchronization now avoids that lock deadlock, detects stale running guardians, unloads and waits briefly for them to exit, and starts the new daemon; meanwhile, the 2.3.1 guardian watches its own .app bundle and executable so it waits for any in-flight work and exits cleanly as soon as the app is moved or replaced.

WeChat and Sandbox App Data Safety

Disabled new WeChat "Large files & videos only (msg/file + msg/video)" migrations while keeping full restore for existing accounts — WeChat can place hard links in both msg/file and msg/attach pointing to the same underlying file, causing cross-volume safety checks to reject copying msg/file into its own dedicated APFS volume. 2.3.1 keeps Migrate everything and Split migration (msg + business) (where all of msg stays together on one volume and internal hard links remain intact), while preserving detection, mounting, unlocking and restoration for any accounts previously migrated with msg/file + msg/video (including partial single-member migrations).

Filtered and blocked macOS sandbox system symlinks inside WeChat's container — macOS sandbox containers include ~28 built-in convenience symlinks under Data/Library/ pointing back to real ~/Library/ folders (Mail, Keychains, Dictionaries, Sounds, Application Support/iCloud, SyncServices, etc.). Because WeChat uses a dedicated allowlist policy, those system symlinks previously bypassed filtering and appeared as "Existing Symlinks" with clickable Restore buttons — risking moving real ~/Library/* data into the WeChat container or showing misleading "External storage directory does not exist" errors on dangling entries. 2.3.1 now identifies and excludes these macOS sandbox system symlinks across the model, scanner and UI, and strictly blocks restoring, linking or force-unlinking them at execution time, while keeping genuine historical external-drive symlinks visible and restorable.

Filtered Chromium / Electron runtime pseudo-symlinks and validated "Normalize Management" targets — Browsers and Electron apps store version strings and instance locks as symlinks under ~/Library/Application Support/ (such as RunningChromeVersion, SingletonLock, SingletonCookie, SingletonSocket, and other single-segment non-path targets). 2.3.1 filters out these runtime pseudo-symlinks during scanning (while keeping genuine offline external symlinks pointing to /Volumes/... visible so you can inspect or force-unlink them). For any remaining unmanaged symlink whose target is missing, a regular file, or a nested symlink, the dialog now clearly states the missing path and disables Normalize Management.

Appearance

Switching appearance from Light or Dark back to System did not take effect, and secondary windows ignored appearance changes — Fixed an issue on macOS where switching back to System left the main window stuck in Light or Dark mode. Appearance is now synchronized at the application level before the first frame and on live changes, keeping the main window, About window, diagnostic export dialog, permission guide overlay and alerts consistent without resetting current scan state.

Known Limitations

  • Re-granting permissions after a certificate change still requires one manual toggle in System Settings. macOS prevents apps from silently granting themselves permissions; on some macOS versions, clearing a stale system-level Full Disk Access entry requires clicking Clear Legacy Permission Records in Readiness Check (with one administrator prompt) or manually removing the old entry with - in System Settings before adding AppPorts again.
  • To keep WeChat chat images (msg/attach) on your internal SSD, the full msg directory currently needs to stay local. To offload WeChat media to an external drive, use Split migration (msg + business) so internal hard links remain on a single APFS volume.
  • Displayed sizes are for UI reference only. Cached App Data list sizes may remain unchanged if deeply nested files change while the container inode stays the same until you manually refresh; the External Drive header sums logical app bundle bytes rather than physical APFS block usage or reclaimed internal disk space.

Full Changelog: 2.3.0...2.3.1