chore: add settings shortcut and restart packaging
This commit is contained in:
@@ -367,6 +367,9 @@ struct ClawdisApp: App {
|
||||
Toggle(isOn: $state.isPaused) {
|
||||
Text(state.isPaused ? "Clawdis Paused" : "Pause Clawdis")
|
||||
}
|
||||
Button("Settings…") {
|
||||
NSApp.sendAction(Selector(("showPreferencesWindow:")), to: nil, from: nil)
|
||||
}
|
||||
Divider()
|
||||
Button("Test Notification") {
|
||||
Task { _ = await NotificationManager().send(title: "Clawdis", body: "Test notification", sound: nil) }
|
||||
|
||||
@@ -53,6 +53,9 @@ if [ -f "$CLI_BIN" ]; then
|
||||
chmod +x "$APP_ROOT/Contents/MacOS/ClawdisCLI"
|
||||
fi
|
||||
|
||||
echo "⏹ Stopping any running Clawdis"
|
||||
killall -q Clawdis 2>/dev/null || true
|
||||
|
||||
echo "✅ Bundle ready at $APP_ROOT"
|
||||
|
||||
echo "🚀 Launching app"
|
||||
|
||||
Reference in New Issue
Block a user