From 6e34d544ecc9062e77205646dbc2b610662999c8 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 11 Jan 2024 21:51:32 +0200 Subject: [PATCH] Fix building new iMessage bridge locally --- cmd/bbctl/run.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/bbctl/run.go b/cmd/bbctl/run.go index d74c173..46316fd 100644 --- a/cmd/bbctl/run.go +++ b/cmd/bbctl/run.go @@ -132,6 +132,9 @@ func compileGoBridge(ctx context.Context, buildDir, binaryPath, bridgeType strin if _, err = os.Stat(buildDir); err != nil && errors.Is(err, fs.ErrNotExist) { repo := fmt.Sprintf("https://github.com/mautrix/%s.git", bridgeType) + if bridgeType == "imessagego" { + repo = "https://github.com/beeper/imessage.git" + } log.Printf("Cloning [cyan]%s[reset] to [cyan]%s[reset]", repo, buildDir) err = makeCmd(ctx, buildDirParent, "git", "clone", repo, buildDir).Run() if err != nil {