aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-21 22:12:26 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-21 22:12:26 +0200
commiteb0f0041640dbc84964c5fb11d84fa071cdb27d9 (patch)
tree659fcfb04af3eb503e56fa8ff463b3aae1ebae61 /doc
parentUpdate documentation (diff)
downloadsmolbote-eb0f0041640dbc84964c5fb11d84fa071cdb27d9.tar.xz
Add updater notes to documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/Updater.md24
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
+~~~