From e9280208317e80c5baa6ae2002de2a260a8a49c5 Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Wed, 2 Dec 2026 19:11:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=200.1.16=EF=BC=9A=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=88=97=E8=A1=A8=E8=A1=8C=E4=B8=8E=E5=BC=80=E5=85=B3?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 权限管理页残留数量改用行标签位显示 - 设置页开关改用共享 Toggle 组件 - 统一各模块列表行的内边距、分隔线与选中态 - 可点击列表行显示手型光标 --- CHANGELOG.md | 9 +++ Cargo.lock | 16 ++-- Cargo.toml | 2 +- README.en.md | 8 +- README.md | 10 +-- README.zh-CN.md | 8 +- RELEASE_NOTES.md | 13 ++-- docs/USAGE.md | 8 +- docs/USAGE.zh-CN.md | 8 +- package.json | 2 +- src-tauri/Cargo.lock | 14 ++-- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- src/pages/PermissionsPage.tsx | 16 ++-- src/pages/SettingsPage.tsx | 12 ++- src/styles.css | 136 ++++++++++++++++++++++++++++++++++ 16 files changed, 202 insertions(+), 64 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df1a63f..7312bf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ Squid 的重要变更记录在这里。版本号使用语义化版本,日期为发布日。 +## [0.1.16] - 2026-12-02 + +### 界面一致性 + +- 权限管理页的残留数量改用列表行的标签位显示,不再拼接在应用名后面。 +- 设置页“显示磁盘实际占用”改用共享开关组件,与其他设置项保持一致。 +- 统一应用卸载、清理计划、清理历史、空间分类、重复文件和大文件列表的内边距、分隔线与选中态,恢复各模块原有的卡片外观。 +- 可点击的列表行显示手型光标。 + ## [0.1.15] - 2026-11-30 ### 应用卸载 diff --git a/Cargo.lock b/Cargo.lock index fe27b98..99db649 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3583,7 +3583,7 @@ dependencies = [ [[package]] name = "squid-cli" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "chrono", @@ -3603,7 +3603,7 @@ dependencies = [ [[package]] name = "squid-core" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "chrono", @@ -3622,7 +3622,7 @@ dependencies = [ [[package]] name = "squid-engine" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "chrono", @@ -3645,7 +3645,7 @@ dependencies = [ [[package]] name = "squid-guard" -version = "0.1.15" +version = "0.1.16" dependencies = [ "chrono", "hex", @@ -3661,7 +3661,7 @@ dependencies = [ [[package]] name = "squid-platform" -version = "0.1.15" +version = "0.1.16" dependencies = [ "dirs", "file_icon_provider", @@ -3681,7 +3681,7 @@ dependencies = [ [[package]] name = "squid-rules" -version = "0.1.15" +version = "0.1.16" dependencies = [ "globset", "serde", @@ -3693,7 +3693,7 @@ dependencies = [ [[package]] name = "squid-stats" -version = "0.1.15" +version = "0.1.16" dependencies = [ "chrono", "libc", @@ -3706,7 +3706,7 @@ dependencies = [ [[package]] name = "squid-tui" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 7995335..dfdaecb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["crates/*"] exclude = ["src-tauri"] [workspace.package] -version = "0.1.15" +version = "0.1.16" edition = "2021" rust-version = "1.95" license = "GPL-3.0-only" diff --git a/README.en.md b/README.en.md index e628e5e..b509246 100644 --- a/README.en.md +++ b/README.en.md @@ -20,18 +20,18 @@ The desktop app supports macOS 12+ and Windows 10/11 x64. The CLI and TUI share ## Download and install -Current version **0.1.15** (2026-11-30). Desktop installers are published on the origin repository's `releases` branch: +Current version **0.1.16** (2026-12-02). Desktop installers are published on the origin repository's `releases` branch: | Platform | Installer | | --- | --- | -| macOS 12+ | [`Squid-0.1.15-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.15-macOS-universal.dmg) | -| Windows 10/11 x64 | [`Squid-Setup-0.1.15-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.15-win-x64.exe) | +| macOS 12+ | [`Squid-0.1.16-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.16-macOS-universal.dmg) | +| Windows 10/11 x64 | [`Squid-Setup-0.1.16-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.16-win-x64.exe) | Release directory: Both installers are unsigned builds. On macOS, right-click **Open** the first time; on Windows, choose **More info** > **Run anyway** when SmartScreen appears. See the [usage guide](docs/USAGE.md) for installation, daily use, uninstall, and troubleshooting. -The same installers are attached to the [GitHub release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.15). The GitHub repository does not carry the `releases` branch. The app still checks the origin update channel. +The same installers are attached to the [GitHub release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.16). The GitHub repository does not carry the `releases` branch. The app still checks the origin update channel. ## Features diff --git a/README.md b/README.md index e60a7a1..a17aa2b 100644 --- a/README.md +++ b/README.md @@ -10,19 +10,19 @@ Squid 是面向 macOS 与 Windows 的本地系统维护工具。桌面端、CLI ## Download / 下载 -Latest release: **0.1.15** (2026-11-30). +Latest release: **0.1.16** (2026-12-02). | Platform | Package | | --- | --- | -| macOS 12+ | [`Squid-0.1.15-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.15-macOS-universal.dmg) | -| Windows 10/11 x64 | [`Squid-Setup-0.1.15-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.15-win-x64.exe) | +| macOS 12+ | [`Squid-0.1.16-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.16-macOS-universal.dmg) | +| Windows 10/11 x64 | [`Squid-Setup-0.1.16-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.16-win-x64.exe) | Installers live on the origin repository's `releases` branch: -The same installers are attached to the [GitHub release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.15). The GitHub repository does not carry the `releases` branch, and the app's update feed still points at the origin channel. +The same installers are attached to the [GitHub release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.16). The GitHub repository does not carry the `releases` branch, and the app's update feed still points at the origin channel. -安装包发布在 origin 仓库的 `releases` 分支,并同步附到 [GitHub Release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.15)。GitHub 不承载 `releases` 分支;应用更新仍从 origin 的发布通道检查。 +安装包发布在 origin 仓库的 `releases` 分支,并同步附到 [GitHub Release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.16)。GitHub 不承载 `releases` 分支;应用更新仍从 origin 的发布通道检查。 ## Highlights / 功能 diff --git a/README.zh-CN.md b/README.zh-CN.md index 6a27e41..1423d1c 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -20,18 +20,18 @@ Squid 是面向 macOS 与 Windows 的本地系统维护工具:清理可重建 ## 下载与安装 -当前版本 **0.1.15**(2026-11-30)。桌面安装包发布在 origin 仓库的 `releases` 分支: +当前版本 **0.1.16**(2026-12-02)。桌面安装包发布在 origin 仓库的 `releases` 分支: | 平台 | 安装包 | | --- | --- | -| macOS 12+ | [`Squid-0.1.15-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.15-macOS-universal.dmg) | -| Windows 10/11 x64 | [`Squid-Setup-0.1.15-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.15-win-x64.exe) | +| macOS 12+ | [`Squid-0.1.16-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.16-macOS-universal.dmg) | +| Windows 10/11 x64 | [`Squid-Setup-0.1.16-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.16-win-x64.exe) | 发布目录: 两个安装包都是未签名构建。macOS 首次打开请在访达中右键选择“打开”;Windows SmartScreen 提示时选择“更多信息” > “仍要运行”。完整的安装、使用、卸载与故障排查见[使用帮助](docs/USAGE.zh-CN.md)。 -同一批安装包也会附到 [GitHub Release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.15)。GitHub 不承载 `releases` 分支;应用更新仍从 origin 的发布通道检查。 +同一批安装包也会附到 [GitHub Release](https://github.com/VulpineLiu/squid/releases/tag/v0.1.16)。GitHub 不承载 `releases` 分支;应用更新仍从 origin 的发布通道检查。 ## 功能 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 9b2c3c2..32bc339 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,11 +1,8 @@ -Squid 0.1.15 +Squid 0.1.16 -- Windows 应用卸载现在会调用应用自己的卸载程序:MSI 条目使用 `msiexec /x`,其他条目按注册表命令执行;卸载完成后自动清理残留的卸载注册表记录。 -- 修复 Windows 应用列表中没有 `InstallLocation` 的条目显示 0 B、无法卸载的问题。安装目录会依次从注册表、MSI `InstallLocation`、`DisplayIcon` 和卸载程序路径推断。 -- 修复 Program Files 下的应用被误判为“无权限”,导致只删除残留、应用本体仍在的问题。应用自己的卸载程序会负责提权。 -- 卸载程序已经删除的文件不再被当成失败;卸载完成后自动刷新应用列表,同时保留结果摘要。 -- Windows 应用图标优先使用扫描时解析到的 `DisplayIcon`、卸载程序或可执行文件,缺失图标的情况更少。 -- macOS 应用卸载列表现在也显示真实应用图标。 -- 应用条目的唯一键在没有 bundle id 时回退到注册表键,避免 Windows 条目互相覆盖或无法选中。 +- 权限管理页的残留数量改用列表行的标签位显示,不再拼接在应用名后面。 +- 设置页“显示磁盘实际占用”改用共享开关组件,与其他设置项保持一致。 +- 统一应用卸载、清理计划、清理历史、空间分类、重复文件和大文件列表的内边距、分隔线与选中态,恢复各模块原有的卡片外观。 +- 可点击的列表行显示手型光标。 macOS 与 Windows 安装包均为未签名构建。macOS 首次打开请在访达中右键选择“打开”;Windows SmartScreen 提示时选择“更多信息” > “仍要运行”。 diff --git a/docs/USAGE.md b/docs/USAGE.md index 9bc7c02..578e641 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -1,6 +1,6 @@ # Squid Usage Guide -For Squid 0.1.15. See [`README.en.md`](../README.en.md) for the project overview and [`CHANGELOG.md`](../CHANGELOG.md) for version history. +For Squid 0.1.16. See [`README.en.md`](../README.en.md) for the project overview and [`CHANGELOG.md`](../CHANGELOG.md) for version history. ## 1. Download and install @@ -9,12 +9,12 @@ Desktop installers are published on the origin repository's `releases` branch an - Release directory: - Update manifest: -Current version 0.1.15: +Current version 0.1.16: | Platform | Installer | | --- | --- | -| macOS 12+ | [`Squid-0.1.15-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.15-macOS-universal.dmg) | -| Windows 10/11 x64 | [`Squid-Setup-0.1.15-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.15-win-x64.exe) | +| macOS 12+ | [`Squid-0.1.16-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.16-macOS-universal.dmg) | +| Windows 10/11 x64 | [`Squid-Setup-0.1.16-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.16-win-x64.exe) | Both installers are unsigned builds. Verify their exact size and SHA256 against `SHA256SUMS.txt` in the release directory. diff --git a/docs/USAGE.zh-CN.md b/docs/USAGE.zh-CN.md index c89f5db..eb92b5b 100644 --- a/docs/USAGE.zh-CN.md +++ b/docs/USAGE.zh-CN.md @@ -1,6 +1,6 @@ # Squid 使用帮助 -适用于 Squid 0.1.15。项目说明见 [`README.zh-CN.md`](../README.zh-CN.md),版本历史见 [`CHANGELOG.md`](../CHANGELOG.md)。 +适用于 Squid 0.1.16。项目说明见 [`README.zh-CN.md`](../README.zh-CN.md),版本历史见 [`CHANGELOG.md`](../CHANGELOG.md)。 ## 1. 下载与安装 @@ -9,12 +9,12 @@ Squid 的桌面安装包发布在 origin 仓库的 `releases` 分支,并同步 - 发布目录: - 更新清单: -当前版本 0.1.15: +当前版本 0.1.16: | 平台 | 安装包 | | --- | --- | -| macOS 12+ | [`Squid-0.1.15-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.15-macOS-universal.dmg) | -| Windows 10/11 x64 | [`Squid-Setup-0.1.15-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.15-win-x64.exe) | +| macOS 12+ | [`Squid-0.1.16-macOS-universal.dmg`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-0.1.16-macOS-universal.dmg) | +| Windows 10/11 x64 | [`Squid-Setup-0.1.16-win-x64.exe`](https://git.unissense.tech/mula/nex_squid/raw/branch/releases/Squid-Setup-0.1.16-win-x64.exe) | 两个安装包都是未签名构建。校验文件大小和 SHA256 的方法见发布目录中的 `SHA256SUMS.txt`。 diff --git a/package.json b/package.json index 1535e4e..e8a49c3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "squid-desktop", "private": true, - "version": "0.1.15", + "version": "0.1.16", "type": "module", "author": "mula.liu", "license": "GPL-3.0-only", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 9f9b1b3..4bc1811 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4764,7 +4764,7 @@ dependencies = [ [[package]] name = "squid-core" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "chrono", @@ -4783,7 +4783,7 @@ dependencies = [ [[package]] name = "squid-desktop" -version = "0.1.15" +version = "0.1.16" dependencies = [ "base64 0.22.1", "chrono", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "squid-engine" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "chrono", @@ -4833,7 +4833,7 @@ dependencies = [ [[package]] name = "squid-guard" -version = "0.1.15" +version = "0.1.16" dependencies = [ "chrono", "hex", @@ -4849,7 +4849,7 @@ dependencies = [ [[package]] name = "squid-platform" -version = "0.1.15" +version = "0.1.16" dependencies = [ "dirs 6.0.0", "file_icon_provider", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "squid-rules" -version = "0.1.15" +version = "0.1.16" dependencies = [ "globset", "serde", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "squid-stats" -version = "0.1.15" +version = "0.1.16" dependencies = [ "chrono", "libc", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 169f5ed..1ff4a81 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "squid-desktop" -version = "0.1.15" +version = "0.1.16" description = "Squid — a CleanMyMac-inspired cleaner, uninstaller and system monitor." authors = ["mula.liu"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a2712e5..f3b74f1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Squid", - "version": "0.1.15", + "version": "0.1.16", "identifier": "app.nex.squid", "mainBinaryName": "squid-desktop", "build": { diff --git a/src/pages/PermissionsPage.tsx b/src/pages/PermissionsPage.tsx index 0dc15b1..bc248f7 100644 --- a/src/pages/PermissionsPage.tsx +++ b/src/pages/PermissionsPage.tsx @@ -405,15 +405,13 @@ export function PermissionsPage({ neutral={software === otherName} /> } - title={ - <> - {software} - {leftovers.length > 0 ? ( - - {t(`${leftovers.length} leftover`, `${leftovers.length} 个残留`)} - - ) : null} - + title={software} + tags={ + leftovers.length > 0 ? ( + + {t(`${leftovers.length} leftover`, `${leftovers.length} 个残留`)} + + ) : undefined } subtitle={ allOn diff --git a/src/pages/SettingsPage.tsx b/src/pages/SettingsPage.tsx index 2bd6c2e..dfb6fbf 100644 --- a/src/pages/SettingsPage.tsx +++ b/src/pages/SettingsPage.tsx @@ -328,13 +328,11 @@ export function SettingsPage({ "对稀疏和压缩文件优先显示磁盘实际占用。", )} trailing={ - + void save({ showAllocated: next })} + label={t("Report allocated size", "显示磁盘实际占用")} + /> } /> svg { + flex: 0 0 auto; + color: var(--nex-muted-soft); +} + +.plan-items .plan-item { + align-items: flex-start; + padding: 8px; + border-top: 0; + border-radius: 8px; +} + +.app-plan-panel.section { + padding: 0; +} + +.plan-items .plan-item.is-locked { + cursor: default; +} + +.plan-items .plan-item .row-trailing > b { + color: var(--nex-muted); + font-size: var(--nex-text-3xs); + font-weight: var(--nex-weight-semibold); +} + +.history-entries .history-entry { + padding: 6px; + border-top: 0; +} + +.history-entries .history-entry .row-trailing > span { + color: var(--nex-muted); + font-size: var(--nex-text-3xs); +} + +.space-cat > .space-cat-head { + padding: 12px 16px; + border-radius: 0; +} + +.space-cat > .space-cat-head .row-title { + font-weight: var(--nex-weight-semibold); +} + +.space-cat-lead { + display: inline-flex; + align-items: center; + gap: 8px; +} + +.space-cat-items > .space-item, +.space-cat-items > .space-rule { + border-radius: 0; +} + +.space-cat-items > .space-item { + padding: 9px 16px 9px 46px; +} + +.space-cat-items > .space-rule { + padding: 10px 16px 10px 44px; +} + +.space-cat-items > .space-item:not(:first-child), +.space-cat-items > .space-rule:not(:first-child) { + border-top: 1px solid #f6efe2; +} + +.space-rule-paths .space-item { + padding: 9px 16px 9px 74px; + border-radius: 0; +} + +.space-rule-paths .space-item:not(:first-child) { + border-top: 1px solid #f8f2e6; +} + +.dup-group > .dup-group-head { + padding: 9px 13px; + border-bottom: 1px solid #f2eade; + background: rgba(224, 95, 33, 0.025); +} + +.dup-group.section { + padding: 0; +} + +.dup-copies .dup-copy { + padding: 5px 13px; + border-top: 0; +} + +.dup-copies .dup-copy.is-keep .row-title-text { + color: #4b8a55; +} + +.dup-copies .dup-copy.is-keep-picked .row-title-text { + color: #9a6f1d; +} + +.bigfiles-list .bigfile-row { + padding: 8px 13px; + border-top: 0; + border-bottom: 1px solid #f2eade; + font-size: var(--nex-text-3xs); +} + +.bigfiles-list .bigfile-row:last-child { + border-bottom: 0; +} + +.history-card > .history-head, +.perm-group-card > .perm-group-head { + border-radius: 0; +} + /* Badges — every status pill is one of these five tones. */ .badge { display: inline-flex;