Repository navigation
Releases: CaoHaoran-Dev/ProcessSH
Releases · CaoHaoran-Dev/ProcessSH
Release list
ProcessSH v2.0.0
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+Rto 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+Rremains 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.placeholderwhen 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 runtimeProcessSH-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 运行时。
ProcessSH v1.0.1
What's Changed
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 - Default Hotkey – Changed from
Ctrl+Win+RtoCtrl+Alt+R, since Windows reserves mostWincombinations andRegisterHotKeycannot reliably capture them - Custom Hotkey – Recording a new hotkey in Settings now takes effect immediately; the previous and new hotkeys no longer go stale
- 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.placeholderwhen the saved language equals the default; localization is now initialized explicitly - Settings / About Titles – Window titles now follow the current language
- Autocomplete – Selecting a suggestion twice no longer inserts
ProcessSH.Models.Suggestion
Changed
- Single Main Window – The main window is now a singleton; closing it hides the window instead of exiting. Quit via Tray → Quit
- Tray Menu – Removed "New Window"; auxiliary windows (Settings, About) are now limited to one instance each
- Default Hotkey –
Ctrl+Alt+R(previouslyCtrl+Win+R) - About Version – Now read from the assembly, so it follows the project version automatically
Build
- Added
build.ps1/build.batfor one-click build - Two installers are now produced:
ProcessSH-Setup-1.0.1-self-contained.exe— includes the runtimeProcessSH-Setup-1.0.1-framework-dependent.exe— requires the runtime
- Publish output uses RID paths (
win-x64/win-arm64) - Inno Setup path is auto-detected, with a file picker fallback
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.
变更内容
修复
- 全局快捷键 —— 用 Win32
RegisterHotKey替换低级键盘钩子,不再因 UI 线程繁忙被 Windows 静默移除 - 默认快捷键 —— 从
Ctrl+Win+R改为Ctrl+Alt+R,因为 Windows 保留了大量Win组合键,RegisterHotKey无法可靠捕捉 - 自定义快捷键 —— 在设置中录制新快捷键后立即生效,新旧快捷键不再失效
- 窗口位置 —— 输出变长时窗口不再跳回左下角,改为底部固定、向上扩展
- 启动本地化 —— 保存语言与默认值相同时,界面不再回退为
main.placeholder这类 key,现在会显式初始化 - 设置 / 关于标题 —— 窗口标题跟随当前语言
- 自动补全 —— 连按两次不再插入
ProcessSH.Models.Suggestion
变更
- 单一主窗口 —— 主窗口变为单例,关闭即隐藏而非退出。退出请用 托盘 → 退出
- 托盘菜单 —— 移除“新建窗口”;设置、关于窗口各限一个实例
- 默认快捷键 ——
Ctrl+Alt+R(原Ctrl+Win+R) - 关于页版本 —— 改为从程序集读取,自动跟随项目版本
构建
- 新增
build.ps1/build.bat一键构建 - 现在产出两个安装包:
ProcessSH-Setup-1.0.1-self-contained.exe—— 内建运行时ProcessSH-Setup-1.0.1-framework-dependent.exe—— 需另行安装运行时
- 发布目录使用 RID 路径(
win-x64/win-arm64) - Inno Setup 路径自动探测,找不到时弹出文件选择对话框
说明
- 如果尚未安装 PowerShell 7,安装程序会询问是否打开 Microsoft Store。
- 若使用框架依赖版,请先安装 Windows App SDK 运行时。
ProcessSH v1.0.0
Features
- Command Execution – Execute any PowerShell 7 command with real-time output display
- Tab Completion – Auto-complete system commands, command history, and file paths
- Command History – Navigate previous commands with ↑ and ↓
- Administrator Execution – UAC prompt for elevated commands
- Global Hotkey – Show or hide the window globally with
Ctrl+Win+R(customizable in Settings) - System Tray Integration – Access from the system tray; no taskbar icon
- Fluent Design – Acrylic backdrop with Segoe Fluent Icons
- Floating Window – Spotlight-style window at the bottom-left of the screen
- Multiple Windows – Each window is an independent session
- Custom Working Directory – Configure the default directory for new windows. Falls back to home if invalid
- Hide on Deactivate – All windows hide when the app loses focus, matching Spotlight behavior
- Runtime Language Switching – English, Simplified Chinese, and Traditional Chinese, switchable without restart
- Dual-Architecture Installer – Automatically detects x64 or ARM64 and installs the correct version
Note
If PowerShell 7 is not installed, the installer will offer to open Microsoft Store.
功能
- 命令执行 —— 执行任意 PowerShell 7 命令,实时显示输出
- Tab 补全 —— 自动补全系统命令、历史命令与文件路径
- 命令历史 —— 使用 ↑ 与 ↓ 浏览先前命令
- 管理员执行 —— 通过 UAC 提示以管理员权限执行命令
- 全局快捷键 ——
Ctrl+Win+R全局显示/隐藏窗口(可在设置中自定义) - 系统托盘集成 —— 常驻系统托盘;不显示任务栏图标
- Fluent 设计 —— 亚克力背景 + Segoe Fluent 图标
- 浮动窗口 —— Spotlight 风格,默认位于屏幕左下角
- 多窗口 —— 每个窗口是独立会话
- 自定义工作目录 —— 可配置新窗口的默认目录,路径无效时回退到主目录
- 失焦隐藏 —— 应用失去焦点时所有窗口自动隐藏,行为类似 Spotlight
- 运行时语言切换 —— 支持英文、简体中文、繁体中文,无需重启即可切换
- 双架构安装程序 —— 自动检测 x64 或 ARM64 并安装对应版本
说明
如果尚未安装 PowerShell 7,安装程序会询问是否打开 Microsoft Store。
Full Changelog: https://github.com/CaoHaoran-Dev/ProcessSH/commits/v1.0.0