diff --git a/Makefile b/Makefile index 4f84264..84e785d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GOFILES=main.go mumble.go discord.go +GOFILES=main.go mumble.go discord.go bridge.go config.go handlers.go mumble-discord-bridge: $(GOFILES) goreleaser build --skip-validate --rm-dist @@ -11,9 +11,12 @@ dev-profile: $(GOFILES) docker-latest: docker build -t stieneee/mumble-discord-bridge:latest . - docker push stieneee/mumble-discord-bridge:latest + +docker-next: + docker build -t stieneee/mumble-discord-bridge:next . + docker push stieneee/mumble-discord-bridge:next clean: rm -f mumble-discord-bridge -.PHONY: all push clean \ No newline at end of file +.PHONY: docker-latest docker-latest-push clean \ No newline at end of file diff --git a/README.md b/README.md index 038665d..a4c4d8d 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,12 @@ Individual Discord servers need to invite the bot before it can connect. ### Binary Prebuilt binaries are available. +The binaries require the opus code runtime library to be installed. + +```bash +# Ubuntu +sudo apt install libopus0 +``` ```bash curl -s https://api.github.com/repos/stieneee/mumble-discord-bridge/releases/latest | grep "mumble-discord-bridge" | grep "browser_download_url" | cut -d '"' -f 4 | wget -qi - @@ -116,6 +122,8 @@ Ensure the opus library is installed. ```bash go build -o mumble-discord-bridge *.go +#or +make mumble-discord-bridge ``` ## Known Issues