brew: bump cask + formula to v0.1.0

This commit is contained in:
mysqto committed 2026-07-08 09:19:55 +00:00
1 parent d01079e91d
commit 2b9cf4f603
2 files changed
+9 -12

No files matched your search

+4 -4
View File
@@ -4,21 +4,21 @@ cask "ccswitch" do
on_macos do
on_arm do
sha256 :no_check
sha256 "c0149b1369129082de5ec9ef46e60175f781ef8b7460c31a76f4b58608aaf0bd"
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-aarch64-apple-darwin.tar.gz"
end
on_intel do
sha256 :no_check
sha256 "77fe7cef2fa595915077508a8e7887ef43dcf82c1174807cb2ba7c2b4ec4c217"
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-x86_64-apple-darwin.tar.gz"
end
end
on_linux do
on_arm do
sha256 :no_check
sha256 "75e41b06683ff1af81c0e03f715bcbc051f4a0dfb8bb0315fd8b13f3c01bafe2"
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-aarch64-unknown-linux-gnu.tar.gz"
end
on_intel do
sha256 :no_check
sha256 "4ec69c0aacc9ca9872faf1e6d4624577748548d6c6d104cb2b2627f38f5a7129"
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-x86_64-unknown-linux-gnu.tar.gz"
end
end
+5 -8
View File
@@ -1,28 +1,27 @@
# Auto-generated by .github/workflows/release.yml on each tag. Do not edit by hand.
# This committed copy is a template until the first release fills in real checksums.
class Ccswitch < Formula
desc "Cross-shell switcher for multiple Claude Code accounts"
homepage "https://github.com/mysqto/ccswitch"
version "0.0.0"
version "0.1.0"
on_macos do
on_arm do
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-aarch64-apple-darwin.tar.gz"
sha256 "0000000000000000000000000000000000000000000000000000000000000000"
sha256 "c0149b1369129082de5ec9ef46e60175f781ef8b7460c31a76f4b58608aaf0bd"
end
on_intel do
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-x86_64-apple-darwin.tar.gz"
sha256 "0000000000000000000000000000000000000000000000000000000000000000"
sha256 "77fe7cef2fa595915077508a8e7887ef43dcf82c1174807cb2ba7c2b4ec4c217"
end
end
on_linux do
on_arm do
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-aarch64-unknown-linux-gnu.tar.gz"
sha256 "0000000000000000000000000000000000000000000000000000000000000000"
sha256 "75e41b06683ff1af81c0e03f715bcbc051f4a0dfb8bb0315fd8b13f3c01bafe2"
end
on_intel do
url "https://github.com/mysqto/ccswitch/releases/download/v#{version}/ccswitch-v#{version}-x86_64-unknown-linux-gnu.tar.gz"
sha256 "0000000000000000000000000000000000000000000000000000000000000000"
sha256 "4ec69c0aacc9ca9872faf1e6d4624577748548d6c6d104cb2b2627f38f5a7129"
end
end
@@ -33,8 +32,6 @@ class Ccswitch < Formula
def install
bin.install "ccswitch"
# Runs `ccswitch completions {bash,zsh,fish}` and installs each script so
# tab-completion works immediately — the piece a cask can't do.
generate_completions_from_executable(bin/"ccswitch", "completions")
end