Skip to content

RunProcess v2.2.0 - The Multi-line & i18n Update

Choose a tag to compare

@CaoHaoran-Dev CaoHaoran-Dev released this 25 Aug 08:18
· 7 commits to main since this release
ff703bb

New Features

  • Multi-line Input: Added Shift+Enter support for multi-line command input; input field now supports mouse wheel scrolling with dynamic height up to 150px
  • Auto open for .app: Automatically prepends open when detecting .app file paths (e.g., /Applications/Calculator.app → open "/Applications/Calculator.app")
  • Global i18n Support: Full localization for English and Simplified Chinese; automatically adapts to system language preference
  • Vertical Centering: Input field, icons, and buttons now perfectly vertically aligned with a fixed 44px height for cleaner UI

Bug Fixes

  • Suggestion Panel Positioning: Fixed panel appearing at bottom-left corner; now correctly follows the input field
  • CommandExecutor Crash: Resolved EXC_BAD_INSTRUCTION crash caused by thread race conditions and deadlocks
  • Priority Inversion Warning: Eliminated QoS inversion warnings by unifying all async operations to .userInitiated priority
  • Interactive Command Detection: Fixed false positives for piped commands (e.g., ls | less now executes correctly)
  • TOCTOU Vulnerability: Replaced access() with stat() for secure file permission checking
  • Sudo Password Detection: Improved error detection to avoid false positives with normal command output

Improvements

  • Command Cache TTL: Reduced system command cache from 300s to 60s for faster new command discovery
  • Output Size Limit: Added 10MB limit to prevent memory bloat from large outputs
  • Status Bar Menu: Optimized with lazy loading for better performance
  • SuggestionPanel: Cleaned up orphan window references and improved lifecycle management
  • Error Messages: All error messages now fully localized and more user-friendly

Documentation

  • Added formal English README with table of contents and anchor links
  • Added complete Simplified Chinese README (Docs/zh-Hans/README.md)
  • Updated Installation section with Releases download and build instructions
  • Added notarization notice for first-time users

Tech Stack

  • Swift + SwiftUI, 100% AI generated code (as always)

What's Next?

  • More language support
  • Command output copy-to-clipboard
  • User-defined quick commands/bookmarks

Note

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