diff --git a/CHANGELOG.md b/CHANGELOG.md index 3361f3d..6aed4e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,11 @@ > 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。 > 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。 +## v3.26.40(2026-11-23)Windows:修复 PowerShell 弹窗 + +- Windows 状态栏内存探测改用 CREATE_NO_WINDOW 启动 PowerShell,不再每 4 秒弹出控制台窗口。 +- macOS 行为不变(Unix 分支仍用 ps)。 + ## v3.26.39(2026-11-22)修正插件插入落点与封面插入 - promptlib 1.6.18:拖拽落点按节点宽高居中到鼠标;详情「插入模板节点/插入画布/插入图片」落到画布可视中心;拖拽期间禁用文本选择。 diff --git a/package.json b/package.json index 1af209a..cdebee6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "image-workbench-web", "private": true, - "version": "3.26.39", + "version": "3.26.40", "description": "Browser-based node canvas image workbench", "scripts": { "build": "node scripts/build.js && node scripts/copy-plugins.js", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 8a2e2c1..e424da5 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "image-workbench" -version = "3.26.39" +version = "3.26.40" description = "无限画布 · 生图工作台桌面版" authors = ["malongan"] license = "" diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 2c042ff..25ed49d 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -172,8 +172,11 @@ fn app_memory_mb() -> u64 { #[cfg(windows)] { let script = format!("(Get-Process -Id {}).WorkingSet64", pid); + use std::os::windows::process::CommandExt; + const CREATE_NO_WINDOW: u32 = 0x0800_0000; let out = std::process::Command::new("powershell") .args(["-NoProfile", "-NonInteractive", "-Command", &script]) + .creation_flags(CREATE_NO_WINDOW) .output(); if let Ok(o) = out { if o.status.success() { diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 76f62fb..5db8c2c 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "image-workbench", - "version": "3.26.39", + "version": "3.26.40", "identifier": "com.malongan.imageworkbench", "build": { "frontendDist": "../dist",