mirror of
https://github.com/taigrr/wails.git
synced 2026-04-16 19:55:05 -07:00
Add webview2 to wails doctor, refactored IsAppleSilicon
This commit is contained in:
@@ -162,7 +162,7 @@ func AddBuildSubcommand(app *clir.Cli, w io.Writer) {
|
||||
// Calculate platform and arch
|
||||
platformSplit := strings.Split(platform, "/")
|
||||
buildOptions.Platform = platformSplit[0]
|
||||
if system.IsAppleSilicon() {
|
||||
if system.IsAppleSilicon {
|
||||
buildOptions.Arch = "arm64"
|
||||
} else {
|
||||
buildOptions.Arch = runtime.GOARCH
|
||||
|
||||
Reference in New Issue
Block a user