Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oaleynik committed Jan 24, 2017
1 parent 3e7d105 commit 11580ee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -13,13 +13,13 @@ To update target application updater needs to know two things - where zip archiv
### Build

1) You need to have `golang` installed and properely configured ;)
2) Install `glide` https://github.com/Masterminds/glide#install
3) Install rsrc `go get github.com/akavel/rsrc`
4) Clone this repo
5) Go to src/nwjs-autoupdater and edit `nwjs-autoupdater.exe.manifest` as you like. WARNING: don't touch the `requestedExecutionLevel` value.
6) Execute `rsrc -manifest nwjs-autoupdater.exe.manifest -ico <path to your icon> -o nwjs-autoupdater.syso` to generate a .syso file with specified resources embedded
7) Execute `glide install` to install dependencies
8) Go back to the root folder and run `GOPATH=$(pwd) go build nwjs-autoupdater` to build for current platform. To build for other platforms use appropriate flags:
2) Install `glide` https://github.com/Masterminds/glide#install
3) Install rsrc `go get github.com/akavel/rsrc`
4) Clone this repo
5) Go to src/nwjs-autoupdater and edit `nwjs-autoupdater.exe.manifest` as you like. WARNING: don't touch the `requestedExecutionLevel` value.
6) Execute `rsrc -manifest nwjs-autoupdater.exe.manifest -ico <path to your icon> -o nwjs-autoupdater.syso` to generate a .syso file with specified resources embedded
7) Execute `glide install` to install dependencies
8) Go back to the root folder and run `GOPATH=$(pwd) go build nwjs-autoupdater` to build for current platform. To build for other platforms use appropriate flags:
```
GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o updater
GOOS=windows GOARCH=386 go build -ldflags "-s -w -H=windowsgui" -o updater.exe
Expand Down

0 comments on commit 11580ee

Please sign in to comment.