Skip to content

fix: macOS installer Terminal progress + all installer fixes#53

Merged
ApiliumDevTeam merged 2 commits intomainfrom
dev
Mar 27, 2026
Merged

fix: macOS installer Terminal progress + all installer fixes#53
ApiliumDevTeam merged 2 commits intomainfrom
dev

Conversation

@ApiliumDevTeam
Copy link
Copy Markdown
Collaborator

Summary

Merges macOS launcher rewrite and all installer fixes from dev to main.

After merge

Re-run Build Desktop Installers workflow and replace v0.3.1 release assets.

First launch now opens Terminal.app showing a step-by-step setup
with clear progress indicators (1/6 through 6/6), checkmarks,
and animated dots during health checks. User sees exactly what's
happening like the Windows installer. Subsequent launches skip
the Terminal and go directly to the portal.
## Summary

First launch of Mayros.app on macOS now opens Terminal.app with a
visible step-by-step setup:

```
  =====================================
     Mayros — First Launch Setup
  =====================================

  [1/6] Installing Mayros CLI...
         This may take 1-2 minutes.
  ✓ Mayros CLI installed

  [2/6] Configuring terminal PATH...
  ✓ PATH configured

  [3/6] Setting up AIngle Cortex...
  ✓ Cortex ready

  [4/6] Creating CLI wrapper...
  ✓ CLI wrapper created

  [5/6] Running initial configuration...
  ✓ Configuration complete

  [6/6] Starting services...
         Waiting for Cortex..... ✓
         Waiting for Gateway...... ✓

  =====================================
     Mayros is ready!
     Opening dashboard...
  =====================================

  You can now use 'mayros' from any
  terminal (open a new tab first).

  Try: mayros code
```

Subsequent launches skip Terminal and go directly to the portal.

## What was broken

Previous approach used `osascript display dialog` which showed a modal
with Cancelar/Aceptar buttons and a generic system icon. When user
pressed a button, it broke the script flow and the installation never
completed.

## Test plan

- [ ] Fresh macOS install: Terminal opens, 6 steps complete, portal
opens
- [ ] Second launch: Terminal doesn't open, portal opens directly
- [ ] `mayros` works from terminal after setup
- [ ] `mayros code` works from terminal after setup
@ApiliumDevTeam ApiliumDevTeam merged commit 89b720a into main Mar 27, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant