forked from joejulian/gio-cmd
gogio: [MacOS] add MacOS .app compilation
This patch is a initial implementation to make `.app` file. It supports custom icons and sign. Signed-off-by: Inkeliz <inkeliz@inkeliz.com>
This commit is contained in:
@@ -73,6 +73,8 @@ func getArchs() []string {
|
||||
goarch = runtime.GOARCH
|
||||
}
|
||||
return []string{goarch}
|
||||
case "macos":
|
||||
return []string{"arm64", "amd64"}
|
||||
default:
|
||||
// TODO: Add flag tests.
|
||||
panic("The target value has already been validated, this will never execute.")
|
||||
|
||||
Reference in New Issue
Block a user