-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstall Quota.command
More file actions
executable file
·58 lines (43 loc) · 1.68 KB
/
Copy pathInstall Quota.command
File metadata and controls
executable file
·58 lines (43 loc) · 1.68 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
# ──────────────────────────────────────────────
# Quota — One-Click Installer
# Installs, removes Gatekeeper block, launches.
# ──────────────────────────────────────────────
clear
cat << 'BANNER'
┌──────────────────────────────────────┐
│ │
│ ⚡ Installing Quota... │
│ │
└──────────────────────────────────────┘
BANNER
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
APP_PATH="${SCRIPT_DIR}/Quota.app"
DEST="/Applications/Quota.app"
if [ ! -d "$APP_PATH" ]; then
echo " ✗ Error: Quota.app not found."
echo " Make sure this file is inside the Quota disk image."
echo ""
read -p " Press Enter to close..."
exit 1
fi
# Kill existing instance if running
pkill -x "Quota" 2>/dev/null && sleep 0.3
# Remove old version
[ -d "$DEST" ] && rm -rf "$DEST"
# Copy to Applications
echo " [1/3] Moving to Applications..."
cp -R "$APP_PATH" "$DEST"
# Remove quarantine (Gatekeeper bypass)
echo " [2/3] Removing Gatekeeper block..."
xattr -cr "$DEST" 2>/dev/null
# Launch
echo " [3/3] Launching..."
open "$DEST"
cat << 'DONE'
✓ Quota installed successfully!
Look for it in your menu bar (top-right).
Click the icon → Sign in with Claude → Done.
You can close this window and eject the disk image.
DONE
sleep 3