Files
RememBerBer 907eaa4854 feat(next-macos-native): add independent native macOS app
Implement the SwiftUI and AppKit product through 0.6.0, including Electron-aligned workspaces, note image attachments, portable backups, and native layouts. Add independent packaging, CI, release notes, and verification records.

Validation: 48 core test groups, native interaction and fresh-launch checks, 76 view captures, 15 focused note layout checks, and verified Universal DMG.
2026-09-09 18:23:14 +08:00

11 lines
555 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
python3 - <<'PY'
import re, subprocess, sys
sdk = subprocess.check_output(['xcrun', '--sdk', 'macosx', '--show-sdk-version'], text=True).strip()
swift = subprocess.check_output(['swift', '--version'], text=True)
match = re.search(r'Swift version (\d+)\.(\d+)', swift)
if int(sdk.split('.')[0]) < 26 or not match or tuple(map(int, match.groups())) < (6, 2):
sys.exit('Building MooTool Next Native requires macOS SDK 26 and Swift 6.2+. Select Xcode 26 or Command Line Tools 26. The built app still supports macOS 14+.')
PY