mirror of
https://github.com/langgenius/dify.git
synced 2026-05-20 16:57:01 +08:00
- spinner.ts: extract startSpinner() returning ActiveSpinner handle for non-blocking use - scripts/: add install-local.sh / uninstall-local.sh + pnpm install:local / uninstall:local - api enums: add OPENAPI to InvokeFrom source mapping in both enum definitions
13 lines
308 B
Bash
Executable File
13 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
# uninstall-local.sh — remove a locally installed difyctl.
|
|
# Run via: pnpm uninstall:local
|
|
set -eu
|
|
|
|
PREFIX="${DIFYCTL_PREFIX:-${HOME}/.local}"
|
|
SHARE_DIR="${PREFIX}/share/difyctl"
|
|
BIN_LINK="${PREFIX}/bin/difyctl"
|
|
|
|
rm -rf "$SHARE_DIR"
|
|
rm -f "$BIN_LINK"
|
|
echo "removed ${SHARE_DIR} and ${BIN_LINK}"
|