文件
JGZYES 9bacd7584b feature 0.3.6: list --upgradable, install --force, setting set/get/mirror, -y/--yes
- pmm list --upgradable: show installed packages that have a newer registry
  version (no install). Reuses the upgrade scan.
- pmm install --force: force reinstall; -y/--yes global confirmation flag.
- pmm setting set <k> <v> / get: read/write pmm.conf keys (e.g. mirror, proxy).
- pmm setting mirror <name>: shortcut to set the active mirror.
- Windows self-upgrade fix (from 38aa622) included: move the running pmm.exe
  aside before .pdm extraction so it can be replaced.
- bump site/install.sh to 0.3.6; CHANGELOG/0.3.6.md; STANDARD.md %s docs aligned.
2026-09-05 08:50:26 +08:00

16 行
686 B
Markdown

# PMM v0.3.6
## 新增
- `pmm list --upgradable`:列出有更新版本的已安装软件包(只展示,不升级)。
- `pmm install --force`:强制重装。
- `pmm setting set <key> <value>` / `pmm setting get`:通用配置读写(写 `pmm.conf`)。
- `pmm setting mirror <name>`:快捷设置当前镜像。
- `install` 支持 `-y/--yes`(配合后续确认场景)。
## 修复
- Windows 上 `pmm install pmm` 自升级失败(运行中的 exe 被锁定):解压前把运行的 pmm.exe 退位,
写入新版本后再清理,避免 `Can't unlink already-existing object: Permission denied`
## 说明
- list --upgradable 会联网查询各包最新版。