batipanel 0.4.11 → 0.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.11
1
+ 0.4.13
package/install.sh CHANGED
@@ -266,19 +266,16 @@ fi
266
266
  if ! has_cmd btop; then
267
267
  install_packages btop 2>/dev/null || true
268
268
  fi
269
- if ! has_cmd btop; then
269
+ # btop GitHub releases only provide Linux binaries
270
+ if ! has_cmd btop && [ "$OS_LOWER" = "linux" ]; then
270
271
  tag=$(latest_github_tag "aristocratos/btop")
271
272
  if [ -n "$tag" ]; then
272
- case "$OS_LOWER" in
273
- darwin)
274
- install_from_github btop \
275
- "https://github.com/aristocratos/btop/releases/download/${tag}/btop-${ARCH_GO}-${OS_LOWER}-musl.tbz" 2>/dev/null || true
276
- ;;
277
- linux)
278
- install_from_github btop \
279
- "https://github.com/aristocratos/btop/releases/download/${tag}/btop-${ARCH_GO}-${OS_LOWER}-musl.tbz" 2>/dev/null || true
280
- ;;
273
+ _btop_arch="$ARCH"
274
+ case "$ARCH" in
275
+ aarch64|arm64) _btop_arch="aarch64" ;;
281
276
  esac
277
+ install_from_github btop \
278
+ "https://github.com/aristocratos/btop/releases/download/${tag}/btop-${_btop_arch}-unknown-linux-musl.tbz" 2>/dev/null || true
282
279
  fi
283
280
  fi
284
281
 
@@ -228,6 +228,21 @@ _add_line_if_missing() {
228
228
  fi
229
229
  }
230
230
 
231
+ # === 4. macOS Terminal.app dark profile ===
232
+ setup_macos_terminal_profile() {
233
+ [ "$(uname -s)" = "Darwin" ] || return 0
234
+
235
+ echo " Setting up Terminal.app dark theme..."
236
+
237
+ # set macOS built-in "Pro" dark profile as default
238
+ if defaults read com.apple.Terminal &>/dev/null 2>&1; then
239
+ defaults write com.apple.Terminal "Default Window Settings" -string "Pro"
240
+ defaults write com.apple.Terminal "Startup Window Settings" -string "Pro"
241
+ echo " Set Terminal.app to dark theme (Pro)"
242
+ echo " Open a new Terminal window to see the change"
243
+ fi
244
+ }
245
+
231
246
  # === Main entry point ===
232
247
  setup_shell_environment() {
233
248
  local user_shell="$1"
@@ -252,5 +267,8 @@ setup_shell_environment() {
252
267
  ;;
253
268
  esac
254
269
 
270
+ # macOS: set Terminal.app to dark theme
271
+ setup_macos_terminal_profile
272
+
255
273
  echo " Shell environment setup complete"
256
274
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "batipanel",
3
- "version": "0.4.11",
3
+ "version": "0.4.13",
4
4
  "description": "AI-powered terminal workspace manager — multi-panel tmux layouts with Claude Code, git, monitoring, and more",
5
5
  "bin": {
6
6
  "batipanel": "./bin/cli.sh"