mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
Better output for build
This commit is contained in:
parent
771efa527f
commit
cb574148eb
1 changed files with 7 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue