chore: add settings shortcut and restart packaging

This commit is contained in:
Peter Steinberger
2025-12-06 00:14:12 +01:00
parent 73a1e137e6
commit 13704d9da5
2 changed files with 6 additions and 0 deletions

View File

@@ -367,6 +367,9 @@ struct ClawdisApp: App {
Toggle(isOn: $state.isPaused) { Toggle(isOn: $state.isPaused) {
Text(state.isPaused ? "Clawdis Paused" : "Pause Clawdis") Text(state.isPaused ? "Clawdis Paused" : "Pause Clawdis")
} }
Button("Settings…") {
NSApp.sendAction(Selector(("showPreferencesWindow:")), to: nil, from: nil)
}
Divider() Divider()
Button("Test Notification") { Button("Test Notification") {
Task { _ = await NotificationManager().send(title: "Clawdis", body: "Test notification", sound: nil) } Task { _ = await NotificationManager().send(title: "Clawdis", body: "Test notification", sound: nil) }

View File

@@ -53,6 +53,9 @@ if [ -f "$CLI_BIN" ]; then
chmod +x "$APP_ROOT/Contents/MacOS/ClawdisCLI" chmod +x "$APP_ROOT/Contents/MacOS/ClawdisCLI"
fi fi
echo "⏹ Stopping any running Clawdis"
killall -q Clawdis 2>/dev/null || true
echo "✅ Bundle ready at $APP_ROOT" echo "✅ Bundle ready at $APP_ROOT"
echo "🚀 Launching app" echo "🚀 Launching app"