fix(plugins): v3.26.130 插件页显示已安装版本(原来显示市场版本,误以为没更新)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 42s

This commit is contained in:
qiqi committed 2026-11-30 18:34:01 +08:00
1 parent ca13d23870
commit 3e0fb3bdf8
6 files changed
+16 -5

No files matched your search

+8
View File
@@ -16,6 +16,14 @@
> 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。
> 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。
## v3.26.130(2026-11-30)插件页显示已安装版本(原来显示的是市场版本)
129 的「插件源」读数证明:加载器读到的就是新版(gallery@1.9.8 / album@1.2.4 / promptlib@1.14.10),
插件其实**已经是新的、正在跑**。问题出在插件页行渲染:`version: m.version || inst.version`——
市场版本排在前,所以本地更新到 1.9.8 仍显示市场的 1.9.6。
- 改为**已安装版本优先**,市场有更新时仍用原有的「可更新」标记提示。
## v3.26.129(2026-11-30)诊断:插件源读数(目录 / 索引条数 / 版本表 / 报错)
现象:资料目录里插件已更新到 album 1.2.4 / gallery 1.9.8 / promptlib 1.14.10,
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "image-workbench-web",
"private": true,
"version": "3.26.129",
"version": "3.26.130",
"description": "Browser-based node canvas image workbench",
"scripts": {
"build": "node scripts/build.js && node scripts/copy-plugins.js",
+1 -1
View File
@@ -2014,7 +2014,7 @@ dependencies = [
[[package]]
name = "image-workbench"
version = "3.26.129"
version = "3.26.130"
dependencies = [
"arboard",
"base64 0.22.1",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "image-workbench"
version = "3.26.129"
version = "3.26.130"
description = "无限画布 · 生图工作台桌面版"
authors = ["malongan"]
license = ""
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "image-workbench",
"version": "3.26.129",
"version": "3.26.130",
"identifier": "com.malongan.imageworkbench",
"build": {
"frontendDist": "../dist",
+4 -1
View File
@@ -215,7 +215,10 @@
return {
id: id,
name: m.name || (reg && reg.name) || id,
version: m.version || (inst[id] && inst[id].version) || (reg && reg.version) || '',
// v3.26.130:**已安装版本优先**。原来市场版本在前,导致本地已更新到 1.9.8 也显示成市场的 1.9.6,
// 用户会以为装的是旧的(实测踩到)。市场有更新时靠下面的 newer 标出来。
version: (inst[id] && inst[id].version) || m.version || (reg && reg.version) || '',
marketVersion: m.version || '',
desc: m.desc || '',
author: m.author || '',
icon: m.icon || '◻',