mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-06 10:19:31 +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)
|
command.StringFlag("upxflags", "Flags to pass to upx", &compressFlags)
|
||||||
|
|
||||||
// Setup Platform flag
|
// 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)
|
command.StringFlag("platform", "Platform to target. Comma separate multiple platforms", &platform)
|
||||||
|
|
||||||
// Verbosity
|
// Verbosity
|
||||||
|
Loading…
Reference in New Issue
Block a user