Skip to content

Instantly share code, notes, and snippets.

@johnnyaug
johnnyaug / update_sonarr.sh
Created April 8, 2026 16:38
Update Sonarr to latest on macOS
#!/bin/bash
# Configuration
ARCH="arm64" # Use "x64" for Intel.
GITHUB_API="https://api.github.com/repos/Sonarr/Sonarr/releases/latest"
INSTALL_DIR="/Applications"
APP_NAME="Sonarr.app"
DEPS_FILE="$INSTALL_DIR/$APP_NAME/Contents/MacOS/Sonarr.deps.json"
TEMP_DIR=$(mktemp -d)
@johnnyaug
johnnyaug / update_radarr.sh
Last active July 1, 2026 08:03
Update Radarr to latest on macOS
#!/bin/bash
# Configuration
ARCH="arm64" # Use "x64" for Intel.
GITHUB_API="https://api.github.com/repos/Radarr/Radarr/releases/latest"
INSTALL_DIR="/Applications"
APP_NAME="Radarr.app"
INFO_PLIST="$INSTALL_DIR/$APP_NAME/Contents/Info.plist"
TEMP_DIR=$(mktemp -d)