aboutsummaryrefslogtreecommitdiff
path: root/doc/Updater.md
blob: 595ec9cb61167c623b309e0abcda05f36e2acb50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Updater

### Manifest
~~~sh
find windows/ -type f | xargs sha512sum | sed 's/windows\///' > windows-sha512.txt
~~~

### Building

You can build for the current system using:
~~~sh
go build
~~~

You can also cross-compile for other systems by setting GOOS and GOARCH. For a
list of supported platforms, use `go tool dist list`.
~~~sh
GOOS=windows GOARCH=amd64 go build
~~~

#### Removing debug information
~~~sh
strip updater
~~~