mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
cmd/gogio: add -icon flag for specifying the app icon file
Before users were limited to only use a appicon.png in the root directory. Now the user is free to use any png anywhere on the system with the help of the -icon flag. Signed-off-by: Axel Paulander <axel.paulander@gmail.com>
This commit is contained in:
committed by
Elias Naur
parent
17b5898dd3
commit
edef73f580
@@ -34,6 +34,7 @@ var (
|
||||
linkMode = flag.String("linkmode", "", "set the -linkmode flag of the go tool")
|
||||
extraLdflags = flag.String("ldflags", "", "extra flags to the Go linker")
|
||||
extraTags = flag.String("tags", "", "extra tags to the Go tool")
|
||||
iconPath = flag.String("icon", "", "Specify an icon for iOS and Android")
|
||||
)
|
||||
|
||||
type buildInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user