5
0
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:
Lea Anthony 2022-02-10 21:24:27 +11:00
parent 771efa527f
commit cb574148eb

View File

@ -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