Skip to content

ProcessSH v2.0.0

Latest

Choose a tag to compare

@CaoHaoran-Dev CaoHaoran-Dev released this 11 Oct 07:36

What's Changed

ProcessSH 2.0.0 is a ground-up rewrite that brings the Windows port in line with RunProcess 3.4.0.

Added

  • Window Material – Choose between Mica, Mica Alt, Acrylic, or a solid background in Settings → Appearance. Applied across the main window, Settings, Help, About, and History Search
  • Aliases – Define short names like gs → git status. Aliases appear first in the completion popup and can be managed in Settings → Aliases
  • Custom Paths – Add folders whose executables can be run by name. Resolved via PATHEXT, with %USERPROFILE% support. Managed in Settings → Paths
  • ANSI Colors – Full support for 8/16/256 colors and 24-bit truecolor. Output from git status, Get-ChildItem, Select-String, etc. is rendered with proper colors. Toggle in Settings → Appearance
  • History Search – Press Ctrl+R to fuzzy-search the entire command history
  • Frecency Ranking – History is now ranked by frequency × recency, so frequently and recently used commands rise to the top
  • In-App Help – Sidebar-based help window with topics: Overview, Keyboard Shortcuts, Command Tips, Running as Root, Aliases
  • Launch at Login – Start ProcessSH automatically on login. Toggle in Settings → Startup
  • Hide on Launch – Start silently in the tray. Toggle in Settings → Startup
  • Copy Output – One-click copy of command output to the clipboard
  • Output Palette – Choose Auto / Dark / Light for ANSI color rendering

Changed

  • Backdrop – The main window now uses a system-native backdrop (Mica by default) instead of a fixed acrylic layer
  • Completion Order – Aliases now rank above history, which ranks above system commands, which rank above paths
  • Default Hotkey – Ctrl+Alt+R remains the default; recording a new hotkey in Settings takes effect immediately
  • History Storage – History is now capped at 500 entries, with least-recently-used entries pruned first
  • Window Titles – Settings, Help, and About windows now follow the current language

Fixed

  • Global Hotkey – Replaced the low-level keyboard hook with Win32 RegisterHotKey, which is no longer silently removed by Windows when the UI thread is busy
  • Window Position – The window no longer jumps back to the bottom-left corner when output grows; it keeps the bottom edge fixed and expands upward
  • Localization on Startup – The UI no longer falls back to keys like main.placeholder when the saved language equals the default
  • Autocomplete – Selecting a suggestion twice no longer inserts ProcessSH.Models.Suggestion
  • Output Rendering – ANSI escape sequences no longer appear as literal text in the output area

Build

  • Version bumped to 2.0.0
  • Two installers are produced:
    • ProcessSH-Setup-2.0.0-self-contained.exe — includes the runtime
    • ProcessSH-Setup-2.0.0-framework-dependent.exe — requires the runtime
  • Publish output uses RID paths (win-x64 / win-arm64)
  • Inno Setup path is auto-detected

Note

  • If PowerShell 7 is not installed, the installer will offer to open Microsoft Store.
  • For the framework-dependent installer, install the Windows App SDK Runtime first.

变更内容

ProcessSH 2.0.0 是一次从头重写,使 Windows 移植版与 RunProcess 3.4.0 对齐。

新增

  • 窗口材质 —— 在 设置 → 外观 中选择 Mica、Mica Alt、亚克力或纯色。应用于主窗口、设置、帮助、关于、历史搜索
  • 别名 —— 定义 gs → git status 之类的短名称。别名在补全浮窗里排最前,可在 设置 → 别名 中管理
  • 自定义路径 —— 添加文件夹,其中的可执行文件可直接用名字运行。按 PATHEXT 解析,支持 %USERPROFILE%。在 设置 → 路径 中管理
  • ANSI 颜色 —— 完整支持 8/16/256 色和 24 位真彩色。git status、Get-ChildItem、Select-String 等输出会带颜色显示。开关在 设置 → 外观
  • 历史搜索 —— 按 Ctrl+R 全量模糊搜索历史命令
  • Frecency 排序 —— 历史改为按「频次 × 时效」排序,频次高、最近用过的排前面
  • 应用内帮助 —— 侧边栏式帮助窗口,包含概述、键盘快捷键、命令技巧、以管理员执行、别名
  • 开机自启动 —— 登录时自动启动 ProcessSH。开关在 设置 → 启动
  • 启动后隐藏 —— 静默启动,只留托盘图标。开关在 设置 → 启动
  • 复制输出 —— 一键复制命令输出到剪贴板
  • 输出色板 —— 为 ANSI 颜色渲染选择自动 / 深色 / 浅色

变更

  • 背景材质 —— 主窗口改用系统原生材质(默认 Mica),替换原先固定的亚克力层
  • 补全优先级 —— 别名 > 历史 > 系统命令 > 路径
  • 默认快捷键 —— 仍为 Ctrl+Alt+R;在设置中录制新快捷键后立即生效
  • 历史存储 —— 上限 500 条,超出时先淘汰最久未用的
  • 窗口标题 —— 设置、帮助、关于窗口现在跟随当前语言

修复

  • 全局快捷键 —— 用 Win32 RegisterHotKey 替换低级键盘钩子,不再因 UI 线程繁忙被 Windows 静默移除
  • 窗口位置 —— 输出变长时窗口不再跳回左下角,改为底部固定、向上扩展
  • 启动本地化 —— 保存语言与默认值相同时,界面不再回退为 main.placeholder 这类 key
  • 自动补全 —— 连按两次不再插入 ProcessSH.Models.Suggestion
  • 输出渲染 —— ANSI 转义序列不再以字面文本形式出现在输出区

构建

  • 版本号升级到 2.0.0
  • 产出两个安装包:
    • ProcessSH-Setup-2.0.0-self-contained.exe —— 内建运行时
    • ProcessSH-Setup-2.0.0-framework-dependent.exe —— 需另行安装运行时
  • 发布目录使用 RID 路径(win-x64 / win-arm64)
  • Inno Setup 路径自动探测

说明

  • 如果尚未安装 PowerShell 7,安装程序会询问是否打开 Microsoft Store。
  • 若使用框架依赖版,请先安装 Windows App SDK 运行时。