Skip to content

RunProcess v3.2.0

Choose a tag to compare

@CaoHaoran-Dev CaoHaoran-Dev released this 04 Oct 01:44
· 7 commits to main since this release
ff703bb

Added

  • Aliases – Define short names like gs → git status. Manage them in Settings → Aliases with add, edit, reorder, and delete. They rank first in the completion popup.
  • Alias Management UI – New Settings category with list view, inline controls, sheet editor, and name validation.
  • ANSI Colors – Output from git status, ls -G, grep --color, and others now renders with proper colors, including 256-color and true-color.
  • Color Settings – Toggle color rendering and pick a palette (Auto / Dark / Light). Existing output re-renders immediately when changed.
  • In-app Help – Press ⌘/ or open from the menu bar. Sidebar-based help window styled like macOS Help Viewer.
  • Full-text Help Search – Search matches both topic titles and their content, with snippets showing where the match was found.
  • Startup Options – New Settings → Startup section: launch at login (macOS 13+) and hide window on launch.

Changed

  • Storage Format – Aliases and history now use YAML (aliases.yml, history.yml) instead of JSON. Easier to hand-edit with comments and multi-line strings. Existing data migrates automatically on first launch.
  • Path Escaping – Dragging files or using Tab completion now wraps paths in double quotes when needed (e.g. "My File.txt") instead of backslash-escaping every space.
  • Settings Layout – Reorganized into categories: General, Appearance, Session, Working Directory, Sudo, Aliases, Startup.
  • Unified Appearance – Frosted Glass / Liquid Glass / None now applies to the main window, Settings, Help, About, and the sudo password dialog.
  • Path Handling – Quoted .app paths (e.g. "/System/Applications/App Store.app") now trigger the open prefix correctly.
  • Localization – Simplified and Traditional Chinese files re-saved as UTF-8 without BOM.
  • Completion – Aliases appear before history and system commands in the popup.
  • History Ranking – Uses frecency (frequency × recency) consistently for ↑/↓ navigation and search.

Fixed

  • App window no longer closes immediately after launch
  • Command timeout now actually terminates the full process group
  • Session mode no longer crashes on reentrant queue access
  • Settings and Help windows are reused instead of recreated on repeated menu clicks
  • About window uses a standard title bar instead of a fully transparent one
  • Adding a new alias no longer opens a blank sheet

Migration

Upgrading from 3.1.0 migrates your data automatically on first launch:

  • aliases.json → aliases.yml
  • history.json → history.yml

Your history and aliases are preserved. Old files are removed after a successful migration.

Note

The app is not notarized by Apple. On first launch, right-click the app → Open → confirm.


新增

  • 别名 —— 定义 gs → git status 之类的短名称。可在设置 → 别名里添加、编辑、排序、删除。补全里排最前。
  • 别名管理界面 —— 设置新增分类,列表视图 + 悬停操作 + 弹窗编辑 + 名称校验。
  • ANSI 颜色 —— git status、ls -G、grep --color 等的输出会带颜色显示,支持 256 色和真彩色。
  • 颜色设置 —— 可开关颜色渲染,可选色板(自动 / 深色 / 浅色)。改动后已有输出立即重算。
  • 应用内帮助 —— 按 ⌘/ 或从菜单栏打开。仿 macOS Help Viewer 的侧边栏式帮助窗口。
  • 帮助全文搜索 —— 搜索同时匹配标题和内容,侧边栏显示命中片段。
  • 启动选项 —— 设置新增"启动"分类:开机自启动(macOS 13+)、启动后隐藏窗口。

改进

  • 存储格式 —— 别名和历史改用 YAML(aliases.yml、history.yml),比 JSON 更适合手写:支持注释、多行字符串。旧数据首次启动自动迁移。
  • 路径转义 —— 拖入文件或 Tab 补全时,含空格的路径用双引号包裹(如 "My File.txt"),不再给每个空格加反斜杠。
  • 设置布局 —— 重新组织为分类侧边栏:通用、外观、会话、工作目录、Sudo、别名、启动。
  • 统一外观 —— 毛玻璃 / 液态玻璃 / 无,现在应用到主窗口、设置、帮助、关于、sudo 密码框。
  • 路径处理 —— 带引号的 .app 路径(如 "/System/Applications/App Store.app")现在能正确触发 open 前缀。
  • 本地化 —— 简中和繁中文件重新保存为 UTF-8 无 BOM。
  • 补全顺序 —— 别名排在历史命令和系统命令之前。
  • 历史排序 —— ↑/↓ 导航和搜索统一用 frecency(频次 × 最近使用)排序。

修复

  • 应用启动后窗口不再立即关闭
  • 命令超时现在能真正杀掉整个进程组
  • 会话模式不再因队列重入而崩溃
  • 重复点击菜单时设置/帮助窗口被复用,不再重复创建
  • 关于窗口改用标准标题栏,不再完全透明
  • 新增别名时不再弹出空白窗口

迁移

从 3.1.0 升级的用户,数据在首次启动时自动迁移:

  • aliases.json → aliases.yml
  • history.json → history.yml

历史和别名不会丢失。迁移成功后旧文件会被删除。

说明

应用未公证。首次打开时右键点击应用 → 打开 → 确认。