Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

build(macos): clean up the host service when the cask is removed

leepokaia56d9b9f3db1
diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml
index 575d68c8..0fe931b1 100644
--- a/.github/workflows/release-macos.yml
+++ b/.github/workflows/release-macos.yml
@@ -145,18 +145,29 @@ jobs:
url "https://github.com/leepokai/Codync/releases/download/v#{version}/codync-macos.dmg"
name "Codync"
- desc "Message your coding agents as bots from iPhone, Mac, Linux or terminal"
- homepage "https://www.codync.dev"
+ desc "Message your coding agents as bots from your phone, desktop or terminal"
+ homepage "https://www.codync.dev/"
depends_on macos: :sonoma
app "Codync.app"
binary "#{appdir}/Codync.app/Contents/MacOS/codync-host"
+ # The app sets up the host service when it opens. Upgrades remove the service too;
+ # Homebrew reopens the app afterwards, which sets it up again on the new version.
+ uninstall early_script: {
+ executable: "#{appdir}/Codync.app/Contents/MacOS/codync-host",
+ args: ["uninstall"],
+ must_succeed: false,
+ },
+ quit: "com.pokai.Codync"
+
zap trash: [
- "~/Library/Preferences/com.pokai.Codync.plist",
"~/.codync",
+ "~/Library/Preferences/com.pokai.Codync.plist",
]
+
+ caveats "Open Codync to start the host, then choose Pair iPhone… in the menu bar."
end
RUBY
cd tap