Skip to content

PmuSim v0.3.0

Choose a tag to compare

@github-actions github-actions released this 28 May 09:10

PmuSim v0.3.0

PmuSim — PMU 主站模拟器 / PMU Master Station Simulator

🇨🇳 中国大陆用户: 首次从旧版升级若失败, 请直接从镜像下载安装包 (新版本起更新检查会自动走 proxy):

https://ghfast.top/https://github.com/Karl-Dai/PmuSim/releases/latest

🌍 Users in mainland China: if the in-app updater fails on first upgrade from a previous version, download installers from the mirror above (later versions will auto-fallback through proxies).

下载 / Downloads

下方资产里按平台选择 / Pick the asset for your platform below:

平台 / Platform 文件名 / Asset
macOS Apple Silicon PmuSim_0.3.0_aarch64.dmg
macOS Intel PmuSim_0.3.0_x64.dmg
Windows x64 (NSIS) PmuSim_0.3.0_x64-setup.exe
Windows x64 (MSI) PmuSim_0.3.0_x64_en-US.msi
Linux AppImage PmuSim_0.3.0_amd64.AppImage
Linux deb PmuSim_0.3.0_amd64.deb
Linux rpm PmuSim-0.3.0-1.x86_64.rpm

Highlights / 亮点

  • 🔄 应用内自动更新: 启动静默检查 + 标题栏「检查更新」按钮; 6h 节流, 24h snooze 同版本 / In-app auto-update: silent check on startup + "检查更新" button in the title bar; 6h throttle, 24h snooze per version.
  • 🇨🇳 国内三镜像 + GitHub 四路回退, 直连失败也能装到最新版 / Four-way endpoint fallback (ghfast.top / gh-proxy.com / gh.idayer.com + GitHub) so mainland users still pick up updates when the direct GitHub link is blocked.
  • 🔐 GitHub Actions 用 minisign 签名 updater 产物, app 端验签后才安装 / Updater artifacts are minisign-signed in GitHub Actions; the app verifies signatures before installing — no MITM via the CN proxies.
  • 📝 Release body 自动从 CHANGELOG 渲染: 平台下载表 + 本版本变更 + macOS Gatekeeper 提示 / Release body now auto-renders from CHANGELOG via scripts/build-release-notes.mjs — platform download table, version section, and macOS Gatekeeper note all included.
  • 💄 配置/数据面板小幅 UI 收敛: label 去冒号, 端口字段加 inputmode=numeric, 速率/读回值并排 / Minor UI polish on the config & data panels: colons dropped from labels, port fields opt into numeric IME, sample-rate readback inlined next to the dropdown.

Added 新增

  • tauri-plugin-updater 接入, 新增 check_for_update / install_update / snooze_update 三个 command (crates/pmusim-app/src/update.rs) / Wired tauri-plugin-updater; new commands check_for_update / install_update / snooze_update (crates/pmusim-app/src/update.rs).
  • 标题栏「检查更新」按钮 + UpdateDialog.vue (markdown 渲染 + 进度条 + 错误重试) / Title-bar "检查更新" button + UpdateDialog.vue (lightweight markdown rendering, progress bar, retry-on-error).
  • scripts/gen-update-manifest.mjs + scripts/build-release-notes.mjs: 拉 release assets, 生成 4 份 latest-pmusim{,-cn1,-cn2,-cn3}.json updater manifest, 渲染富格式 release body / scripts/gen-update-manifest.mjs + scripts/build-release-notes.mjs: pull release assets, emit four latest-pmusim{,-cn{1,2,3}}.json updater manifests, render the rich release body.
  • crates/pmusim-app/capabilities/default.json: updater/process/store/dialog 权限 / crates/pmusim-app/capabilities/default.json granting updater/process/store/dialog permissions.

Changed 改进

  • .github/workflows/release.yml: 加 TAURI_SIGNING_PRIVATE_KEY env + includeUpdaterJson: false, 新增 publish-manifest job 跑 manifest 生成 + release body 渲染 / .github/workflows/release.yml now signs updater bundles (TAURI_SIGNING_PRIVATE_KEY), skips tauri-action's clobber-prone latest.json, and runs a new publish-manifest job to emit signed manifests and replace the release body.
  • crates/pmusim-app/tauri.conf.json: createUpdaterArtifacts: true, 配置 4 个 updater endpoints (CN proxy 优先, GitHub 兜底), 嵌入 minisign 公钥 / crates/pmusim-app/tauri.conf.json enables createUpdaterArtifacts, lists four updater endpoints (CN proxies first, GitHub last), embeds the minisign pubkey.
  • 版本号统一到 0.3.0 (Cargo.toml / tauri.conf.json / frontend/package.json 之前在 0.1.0 与 0.2.0 之间错位) / Version unified to 0.3.0 across Cargo.toml, tauri.conf.json and frontend/package.json (they had drifted between 0.1.0 and 0.2.0).
  • ConfigInfoPanel / DataTablePanel: label 去冒号, 端口字段 inputmode=numeric, 速率行加 .ctl-with-suffix 容器 / ConfigInfoPanel / DataTablePanel: colons removed from labels, port inputs use inputmode="numeric", sample-rate row wrapped in .ctl-with-suffix.

macOS 首次启动 / First launch on macOS

首次双击 .app 会被 Gatekeeper 拦截("Apple 无法验证…")。放行: 打开
系统设置 → 隐私与安全性, 滚到底点 仍要打开; 或终端执行
xattr -dr com.apple.quarantine "/Applications/PmuSim.app"

First launch is blocked by Gatekeeper ("Apple could not verify…"). To allow:
System Settings → Privacy & Security, scroll to bottom, click Open Anyway; or
run xattr -dr com.apple.quarantine "/Applications/PmuSim.app" in Terminal.


完整变更历史 / Full changelog: CHANGELOG.md

之前版本 / Previous releases: https://github.com/Karl-Dai/PmuSim/releases