Enhance GoReleaser configuration for Windows archive formats and expand installation instructions in README.md for various platforms.
This commit is contained in:
parent
de3f5d07b8
commit
85751e1cb2
2 changed files with 50 additions and 12 deletions
|
|
@ -16,9 +16,14 @@ builds:
|
||||||
- -s -w
|
- -s -w
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- format_overrides:
|
- name_template: >-
|
||||||
- formats: 'zip'
|
{{ .ProjectName }}_
|
||||||
goos: windows
|
{{- title .Os }}_
|
||||||
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
formats: zip
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
use: github
|
use: github
|
||||||
|
|
|
||||||
33
README.md
33
README.md
|
|
@ -22,6 +22,39 @@ The Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desk
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
### From Releases
|
||||||
|
|
||||||
|
#### Windows
|
||||||
|
1. Download the latest release for your architecture:
|
||||||
|
- [Windows x64](https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Windows_x86_64.zip)
|
||||||
|
- [Windows ARM64](https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Windows_arm64.zip)
|
||||||
|
2. Extract the `.zip` file
|
||||||
|
3. Add the extracted directory to your PATH or move `telegram-mcp.exe` to a directory in your PATH
|
||||||
|
|
||||||
|
#### macOS
|
||||||
|
```bash
|
||||||
|
# Intel Mac (x86_64)
|
||||||
|
curl -L https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Darwin_x86_64.tar.gz | tar xz -C /usr/local/bin
|
||||||
|
|
||||||
|
# Apple Silicon (M1/M2)
|
||||||
|
curl -L https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Darwin_arm64.tar.gz | tar xz -C /usr/local/bin
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Linux
|
||||||
|
```bash
|
||||||
|
# x86_64 (64-bit)
|
||||||
|
curl -L https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Linux_x86_64.tar.gz | tar xz -C /usr/local/bin
|
||||||
|
|
||||||
|
# ARM64
|
||||||
|
curl -L https://github.com/chaindead/telegram-mcp/releases/latest/download/telegram-mcp_Linux_arm64.tar.gz | tar xz -C /usr/local/bin
|
||||||
|
```
|
||||||
|
|
||||||
|
### From Source
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
- Go 1.24 or later
|
||||||
|
- GOBIN in PATH
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go install github.com/chaindead/telegram-mcp@latest
|
go install github.com/chaindead/telegram-mcp@latest
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue