Files
xiaoyin-markdown/src-tauri/Cargo.toml
T
Jidekin 4f8692ca38 feat(ui): 更新入口移到状态栏右下角「检查更新」,弹窗精简并居中(v2.6.3)
老板看实际界面后提的三点:
  1. 升级弹窗里「当前版本 v2.6.2」那行去掉
  2. 弹窗按钮居中
  3. 工具条右上角的更新图标不要了,改到右下角、蓝色文字链接「检查更新」

改动:
  · index.html:删掉 <button id="btn-update">(工具条图标);
    在 .statusbar 的 .st-right 末尾加 <a class="st-link" id="btn-update">检查更新</a>
  · style.css:.st-link 用主题色 var(--accent)(浅色 #2f6feb / 深色 #4f8ef7),hover 下划线,
    .busy 时降透明度并禁用点击
  · tauri-bridge.js:
      - 「已是最新版本」弹窗不再带 detail(去掉当前版本行)
      - 「发现新版本」的说明里也不再写「当前 vX →」,只留发布时间 + 更新说明
      - 模态框按钮行 justify-content: flex-end → center(Tauri 下所有模态统一)
      - 状态栏是 <a>,没有 disabled,改用 updating 标志 + .busy 类

版本 2.6.2 → 2.6.3,已构建并发布:
  · xymd_2.6.3.exe(2.21 MB)+ .sig
  · latest.json 指向新包,签名按 minisign 规则实验通过
2026-11-20 10:42:30 +08:00

34 lines
833 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[package]
name = "xiaoyin-markdown"
version = "2.6.3"
description = "小银 Markdown —— 轻量本地 Markdown 编辑器"
edition = "2021"
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-dialog = "2"
tauri-plugin-single-instance = "2"
# 在线升级:官方 updater(minisign 签名校验)+ process(升级后重启)
tauri-plugin-updater = "2"
tauri-plugin-process = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clipboard-win = "5"
windows-sys = { version = "0.61", features = [
"Win32_Foundation",
"Win32_System_DataExchange",
"Win32_System_Memory",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging"
] }
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
panic = "abort"