Skip to content

v1.0.2 - Production Build Fixes

Choose a tag to compare

@777genius 777genius released this 27 Oct 17:53
· 2 commits to main since this release

🐛 Bug Fixes

Production Build Issues Fixed

This release fixes critical issues that prevented the production build from launching.

What was broken in v1.0.1

  • Production build (dist/OS AI.app) failed to start
  • Flutter app was not found by launcher
  • Error: "Flutter app not found, cannot start"

What's fixed in v1.0.2

Flutter app now launches correctly in production build

  • Updated launcher.py to search for the correct Flutter app name: OS AI.app (was: frontend_flutter.app)
  • Updated packaging/launcher-macos.spec to bundle Flutter app using Tree() method instead of datas.append()
  • This preserves the .app bundle structure and prevents PyInstaller from incorrectly processing executables

Both modes now work

  • Production mode (PyInstaller bundle): ✅ Working
  • Development mode: ✅ Working

Full functionality restored

  • Backend server starts correctly
  • Flutter frontend launches
  • System tray integration works
  • WebSocket communication established

📦 Installation

Download OS AI.app for macOS and run it.

First launch:

  1. Right-click → Open (to bypass Gatekeeper)
  2. Enter your Anthropic API key in Settings
  3. Start chatting!

🔧 Technical Details

Files changed:

  • launcher.py: Updated Flutter app paths for both production and development modes
  • packaging/launcher-macos.spec: Changed from datas.append() to Tree() for proper .app bundling

Why Tree() instead of datas.append()?

  • PyInstaller's datas.append() tries to process executables as binaries, which breaks code signatures
  • Tree() preserves the entire directory structure without modification
  • This is the correct approach for bundling macOS .app bundles

📝 Full Changelog

See CHANGELOG.md for complete details.


🤖 Generated with Claude Code