mirror of
https://github.com/langgenius/dify.git
synced 2026-05-29 05:07:55 +08:00
Co-authored-by: GareArc <garethcxy@dify.ai> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: L1nSn0w <l1nsn0w@qq.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: gigglewang <gigglewang@dify.ai> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com>
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}"
|