Upgrade to latest nmage(v0.16.2)+icon+readme

This commit is contained in:
bloeys
2023-02-03 02:34:49 +04:00
parent 0419ea06d1
commit b0733e9a0c
7 changed files with 54 additions and 56 deletions

View File

@ -1,3 +1,14 @@
# gopad
Notepad in Golang and using nMage and ImGUI.
## Developer Details
### Hide Console on Windows
Running the executable on windows opens a terminal as well. To hide that we build with: `go build -ldflags -H=windowsgui .`
### Program Icon
`*.syso` files are used by `go build` on Windows to add information to the executable that Windows can read, such as version and icon.
We use `github.com/tc-hib/go-winres` to generate these via the command: `go-winres simply --icon gopad-icon.ico --manifest gui`