mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +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
+4
-3
@@ -15,9 +15,6 @@ programs for platforms where additional metadata or support files are required.
|
||||
The package argument specifies an import path or a single Go source file to
|
||||
package. Any run arguments are appended to os.Args at runtime.
|
||||
|
||||
If the package contains an appicon.png file, it is used as the app icon on
|
||||
supported platforms.
|
||||
|
||||
Compiled Java class files from jar files in the package directory are
|
||||
included in Android builds.
|
||||
|
||||
@@ -42,6 +39,10 @@ will output an app directory suitable for a simulator.
|
||||
The other buildmode is archive, which will output an .aar library for Android
|
||||
or a .framework for iOS and tvOS.
|
||||
|
||||
The -icon flag specifies a path to a PNG image to use as app icon on iOS and Android.
|
||||
If left unspecified, the appicon.png file from the main package is used
|
||||
(if it exists).
|
||||
|
||||
The -appid flag specifies the package name for Android or the bundle id for
|
||||
iOS and tvOS. A bundle id must be provisioned through Xcode before the gogio
|
||||
tool can use it.
|
||||
|
||||
Reference in New Issue
Block a user