Skip to content

feat(installer): add Windows installer build scripts#108

Open
JasonOA888 wants to merge 2 commits into666ghj:mainfrom
JasonOA888:feat/windows-installer
Open

feat(installer): add Windows installer build scripts#108
JasonOA888 wants to merge 2 commits into666ghj:mainfrom
JasonOA888:feat/windows-installer

Conversation

@JasonOA888
Copy link

Implements #70 - Windows installation program packaging

Features

  • PowerShell build script with embedded Python and PyInstaller modes
  • Inno Setup integration for professional installer
  • Portable version generation
  • API key configuration during installation
  • Desktop and Start Menu shortcuts

Build Options

./installer/build.ps1                    # Default (embedded Python)
./installer/build.ps1 -PyInstaller       # Self-contained
./installer/build.ps1 -SkipFrontend      # Skip frontend build
./installer/build.ps1 -Clean             # Clean old builds

Output

  • dist/MiroFish_Setup_0.1.1.exe - Windows installer
  • dist/MiroFish_Portable/ - Portable version

Closes #70

Previously Docker image only built for linux/amd64, causing:
  no matching manifest for linux/arm64/v8

Changes:
- Add platforms: linux/amd64,linux/arm64 to build-push-action
- QEMU and Buildx already configured, just needed platforms flag

Fixes 666ghj#99
Implements 666ghj#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
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. enhancement New feature or request labels Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant