Skip to content

1.0.77

Choose a tag to compare

@morapelker morapelker released this 25 Mar 17:12
· 2403 commits to main since this release

What's Changed

Upgrade Electron 33 → 41 and update dependencies (#189)

Major Electron version upgrade and dependency updates to keep the stack current and resolve native module compatibility issues.

Core Upgrades

  • Electron: ^33.2.1 → ^41.0.0 (major version bump, 33 → 41)
  • electron-builder: ^25.1.8 → ^26.8.1
  • electron-vite: ^2.3.0 → ^5.0.0

Electron Toolkit

  • @electron-toolkit/utils: ^3.0.0 → ^4.0.0
  • @electron-toolkit/eslint-config-ts: ^3.0.0 → ^3.1.0
  • @electron-toolkit/tsconfig: ^1.0.1 → ^2.0.0

Native Modules & Runtime

  • better-sqlite3: ^12.6.2 → ^12.8.0 (fixes NODE_MODULE_VERSION mismatch with new Electron)
  • node-addon-api: ^8.5.0 → ^8.6.0
  • electron-updater: ^6.7.3 → ^6.8.3

Dev Tooling

  • vitest: ^2.1.8 → ^3.2.4 (major version bump)

Lockfile

  • pnpm-lock.yaml updated with all resolved versions (~636 insertions, ~439 deletions)

Add Linux platform support (#187)

Introduces comprehensive Linux platform support across the entire application — build pipeline, main process services, renderer UI, and CI.

Build & Release

  • electron-builder.yml: Added Linux build targets — AppImage, deb, and tar.gz (x64) with deb-specific system dependencies (libgtk-3, libnotify, libnss3, etc.)
  • scripts/release.sh: Integrated Linux build phase (4.6) into the release pipeline as a non-fatal step; publishes Linux artifacts and canary-linux.yml to GitHub Releases; updated summary to show per-platform build status
  • .github/workflows/linux-release.yml: New CI workflow to build and cache Linux native modules (better-sqlite3, node-pty) on ubuntu-latest, uploaded as both artifacts and a GitHub Release

Main Process

  • index.ts: Platform-aware Ghostty terminal launch (ghostty --working-directory= on Linux vs open -a Ghostty on macOS); replaced macOS-only osascript privilege escalation with pkexec on Linux for hive-server install/uninstall; added Not authorized error handling for pkexec cancellation
  • notification-service.ts: Use app.setBadgeCount() on Linux instead of macOS-only app.dock.setBadge()
  • pty-service.ts: Default shell fallback is now /bin/bash on Linux (was hardcoded /bin/zsh)
  • settings-detection.ts: Added Linux-specific paths for editors (VS Code, Cursor, Sublime, WebStorm, Zed) and expanded Linux terminal list with GNOME Terminal, Konsole, Xfce Terminal, Ghostty, WezTerm, and foot
  • shell-env.ts: loadShellEnv() now runs on Linux too (previously skipped for non-darwin), with correct default shell per platform

Renderer

  • lib/platform.ts: Added isLinux() helper and fileManagerName() returning "File Manager" on Linux; updated revealLabel() with Linux-specific strings
  • useCommands.ts: Command descriptions now use fileManagerName() instead of hardcoded Mac/Windows ternary
  • BottomPanel.tsx: Chrome command placeholder shows xdg-open {url} on Linux
  • SettingsEditor.tsx: Custom editor command placeholder shows /usr/bin/code on Linux