JasonOA888
|
27ffc56163
|
feat(installer): add Windows installer build scripts
Implements #70 - Windows installation program packaging
## Features
- PowerShell build script with multiple options:
- Embedded Python mode (smaller, ~200-300MB)
- PyInstaller mode (self-contained, ~1GB+)
- Skip options for incremental builds
- Clean build support
- Inno Setup integration for professional installer
- Portable version generation
- API key configuration during installation
- Desktop and Start Menu shortcuts
- Auto-launch browser after installation
## Build Options
```powershell
# Default (embedded Python, smaller)
.\installer\build.ps1
# PyInstaller mode (larger but self-contained)
.\installer\build.ps1 -PyInstaller
# Incremental builds
.\installer\build.ps1 -SkipFrontend -SkipBackend
# Clean build
.\installer\build.ps1 -Clean
```
## Output
- `dist/MiroFish_Setup_0.1.1.exe` - Windows installer
- `dist/MiroFish_Portable/` - Portable version
## Installation Flow
1. User downloads and runs installer
2. Setup wizard prompts for API key
3. Installation completes
4. Launch via desktop/start menu shortcut
5. Browser opens to application
|
2026-03-10 01:13:19 +08:00 |