From eb0f0041640dbc84964c5fb11d84fa071cdb27d9 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 21 Sep 2018 22:12:26 +0200 Subject: Add updater notes to documentation --- doc/Updater.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/Updater.md (limited to 'doc') 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 +~~~ -- cgit v1.2.1