Files
appstore/apps/codex-claude-workstation/latest/scripts/uninstall.sh
T
okxlin 66ec3e696c Update codex-claude-workstation with Paseo mobile access
Add mobile Codex sessions through the published Paseo-enabled image, default the host listener to loopback, preserve existing permissions and persistent state, and migrate missing or empty bind settings without overwriting custom ports or addresses.
2026-08-11 13:55:09 +08:00

19 lines
491 B
Bash
Executable File

#!/bin/bash
# uninstall.sh — codex-claude-workstation cleanup
set -euo pipefail
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
ROOT_DIR="$(cd -- "${SCRIPT_DIR}/.." && pwd -P)"
cd "$ROOT_DIR"
if docker compose version >/dev/null 2>&1; then
docker compose down
elif docker-compose version >/dev/null 2>&1; then
docker-compose down
else
echo "Docker Compose is not available" >&2
exit 1
fi
echo "Persistent bind data and the codex-home volume were preserved."