Skip to content

Instantly share code, notes, and snippets.

@lukemmtt
lukemmtt / README.md
Last active May 15, 2026 04:30
Shorebird OTA patches for Mac App Store apps

Shorebird OTA Patches for Mac App Store Apps

Use this workaround to patch a Flutter macOS app distributed through the Mac App Store before Shorebird has first-class Mac App Store support.

The workaround starts after your Mac App Store app is live. Build, sign, submit, review, approve, and release the app exactly the way you already do.

Shorebird needs to generate the patch from the same .app bundle your users have installed. For Mac App Store apps, that is the store-delivered .app, not the .app on your build machine. After the app is live, the script's register-baseline command downloads the store-delivered app and uploads that bundle to Shorebird as the baseline for future patches.

Upstream issue: shorebirdtech/shorebird#3223.

@lukemmtt
lukemmtt / mcp_flutter_claude_code_integration.md
Last active March 22, 2026 08:58
Integrating mcp_flutter into Claude Code

Integrating mcp_flutter with Claude Code

Overview

MCP Flutter enables AI assistants like Claude Code to interact with Flutter applications in real-time, providing screenshot capture, error monitoring, hot reload integration, and direct app interaction.

Prerequisites:

  • Flutter SDK 3.0.0+
  • Claude Code CLI
  • MCP Flutter server built from source
@lukemmtt
lukemmtt / generate_windows_store_assets.py
Created March 7, 2025 06:19
Generate windows store assets and ICO
#!/usr/bin/env python3
import os
import sys
import subprocess
import io
import json
import math
from pathlib import Path
from PIL import Image, ImageDraw, ImageFilter