Add icon tutorial.

这个提交包含在:
Josh Mudge 2019-11-20 16:00:40 -07:00
父节点 c6b71a7646
当前提交 821e361e97

查看文件

@ -51,6 +51,14 @@ Next, you can set the "publisher name" by filling in the `CompanyName` value wit
Lastly, you can give your application a name, like "Go Web Server" under the `ProductName` value.
## Create an Icon for You App
Grab the picture you want to use and go to: http://www.genfavicon.com/
Click on “Browse…” Select the picture you want to use, then click “Open”. Then click on the “Upload Image” button. Your image should pop up in the upper right hand corner. You will then need to click and drag on the little boxes around your image to get it to select the whole image properly. Below that, you should see “2 Cut & Preview”. Under this heading, you should be able to select a size. Select “48×48”. Then click “Capture & Preview”. You should then see an option just to the left of that saying “Download: favicon”. Save it as a `.ico` file. You can then open `versioninfo.json` and add that filename to the value for `IconPath`.
## Building the Server File
```
# Generate the info goversioninfo needs by running the following in a command prompt:
go generate