-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuninstall.sh
More file actions
executable file
·35 lines (29 loc) · 1.15 KB
/
Copy pathuninstall.sh
File metadata and controls
executable file
·35 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env bash
set -euo pipefail
BUNDLE_ID="com.modelslab.mstudio.ae.sync"
RED='\033[0;31m'
GREEN='\033[0;32m'
CYAN='\033[0;36m'
BOLD='\033[1m'
RESET='\033[0m'
echo ""
echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${RESET}"
echo -e "${BOLD} MStudio AE Plugin — Uninstaller (macOS / Linux)${RESET}"
echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${RESET}"
echo ""
OS="$(uname -s)"
case "$OS" in
Darwin) CEP_DIR="$HOME/Library/Application Support/Adobe/CEP/extensions/$BUNDLE_ID" ;;
*) echo -e "${RED}Unsupported OS: $OS${RESET}"; exit 1 ;;
esac
if [ ! -d "$CEP_DIR" ]; then
echo -e "${CYAN} ℹ Plugin not found at $CEP_DIR${RESET}"
echo -e "${CYAN} ℹ Already uninstalled or never installed.${RESET}"
echo ""
exit 0
fi
rm -rf "$CEP_DIR"
echo -e "${GREEN} ✓ Removed $CEP_DIR${RESET}"
echo ""
echo -e "${BOLD} Plugin uninstalled. Restart After Effects to finalize.${RESET}"
echo ""