macos-sparkle-config
Configure Sparkle framework for macOS auto-updates. This skill sets up appcast feeds, delta updates, EdDSA signing, and update UI customization.
Capabilities
- Integrate Sparkle 2.x framework
- Generate appcast.xml feeds
- Configure EdDSA signing for updates
- Set up delta updates
- Customize update UI
- Configure update check intervals
- Generate release publishing scripts
- Configure sandboxed app support (XPC)
Input Schema
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"appcastUrl": { "type": "string" },
"signUpdates": { "type": "boolean", "default": true },
"deltaUpdates": { "type": "boolean", "default": true },
"checkInterval": { "type": "number", "default": 86400 }
},
"required": ["projectPath", "appcastUrl"]
}
Configuration
// In App Delegate or SwiftUI App
import Sparkle
class AppDelegate: NSObject, NSApplicationDelegate {
let updaterController = SPUStandardUpdaterController(
startingUpdater: true,
updaterDelegate: nil,
userDriverDelegate: nil
)
}
// Info.plist
// SUFeedURL: https://yourserver.com/appcast.xml
// SUPublicEDKey: your-public-ed25519-key
Appcast Generation
# Generate appcast
./bin/generate_appcast ./releases/
# Sign update
./bin/sign_update MyApp-1.0.0.zip
Related Skills
macos-notarization-workflowauto-update-systemprocess