Improve build instructions
MODIFY
README.md
README.md
- [Arch based Linux distributions](#arch-based-linux-distributions)
- [Installing on Windows](#installing-on-windows)
- [Installing on macOS](#installing-on-macos)
-- [Building it from source](#building-it-from-source)
+- [Building from source](#building-from-source)
- [Login](#login)
- [Quick overview - Navigation (switching between boxes / containers)](#quick-overview---navigation-switching-between-boxes--containers)
- [Extending Cordless via the scripting interface](#extending-cordless-via-the-scripting-interface)
@@ -86,6 +86,7 @@ or
```shell
$ yay -S cordless-git
```
+
###### trizen:
```shell
$ trizen -S cordless-git
@@ -134,27 +135,44 @@ brew install cordless
If you don't install via homebrew, then you should get `pngpaste`, since it's
what allows you to paste images.
-### Building it from source
+### Building from source
-In order to execute this command
+In order to execute the following commands
[you need to have go 1.12 or a more recent version installed](https://golang.org/doc/install).
**UPDATES HAVE TO BE INSTALLED MANUALLY**
-First you have to grab the code via:
+You can either install the binary into your `$GOPATH/bin` by running:
```shell
go get -u github.com/Bios-Marcel/cordless
```
+Which you can then execute by running the executable, which lies at
+`$GOPATH/bin/cordless`. In order to be able to run this from your terminal,
+`$GOPATH/bin` has to be in your `PATH` variable. The very same command can
+be used for updating.
+
+or you manually grab the source:
+
+```shell
+git clone https://github.com/Bios-Marcel/cordless
+cd cordless
+go build .
+```
+
+If done this way, updates have to be installed via:
+
+```shell
+cd cordless
+git pull
+go build .
+```
+
Note:
* X11 users need `xclip` in order to copy and paste.
* Wayland users need `wl-clipboard` in order to copy and paste.
-In order to execute the application, simply run the executable, which lies at
-`$GOPATH/bin/cordless`. In order to be able to run this from your terminal,
-`$GOPATH/bin` has to be in your `PATH` variable.
-
### Login
Logging in works via the UI on first startup of the application.

Improve build instructions