diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Updater.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/Updater.md b/doc/Updater.md new file mode 100644 index 0000000..595ec9c --- /dev/null +++ b/doc/Updater.md @@ -0,0 +1,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 +~~~ |