Skip to content

Commit c4ad3e4

Browse files
committed
feat: added --self-update to update the launcher
1 parent 0e2e47d commit c4ad3e4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bin/claude

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ while [[ $# -gt 0 ]]; do
2525
EOT
2626
exit 0
2727
;;
28+
--self-update)
29+
curl --proto '=https' --tlsv1.2 -sSf \
30+
https://raw.githubusercontent.com/EvanCarroll/claude-podman/refs/heads/main/bin/claude |
31+
sudo tee /usr/local/bin/claude-podman >/dev/null
32+
sudo chmod a+x /usr/local/bin/claude-podman
33+
echo "Updated"
34+
exit 0
35+
;;
2836
--local)
2937
IMAGE="claude-code:latest"
3038
shift
@@ -71,4 +79,3 @@ if [ -n "$INIT_SCRIPT" ]; then
7179
fi
7280

7381
podman container attach "$NAME"
74-

0 commit comments

Comments
 (0)