mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 00:43:14 +08:00
Better output for build
This commit is contained in:
parent
771efa527f
commit
cb574148eb
@ -49,7 +49,13 @@ func AddBuildSubcommand(app *clir.Cli, w io.Writer) {
|
||||
command.StringFlag("upxflags", "Flags to pass to upx", &compressFlags)
|
||||
|
||||
// Setup Platform flag
|
||||
platform := runtime.GOOS
|
||||
platform := runtime.GOOS + "/"
|
||||
if system.IsAppleSilicon {
|
||||
platform += "arm64"
|
||||
} else {
|
||||
platform += runtime.GOARCH
|
||||
}
|
||||
|
||||
command.StringFlag("platform", "Platform to target. Comma separate multiple platforms", &platform)
|
||||
|
||||
// Verbosity
|
||||
|
Loading…
Reference in New Issue
Block a user