5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-10 20:41:10 +08:00

Merge branch 'dedo1911-408-default-serve-platform' into develop

This commit is contained in:
Lea Anthony 2020-05-22 07:02:55 +10:00
commit 421c13805d
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
4 changed files with 8 additions and 6 deletions

View File

@ -2,6 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"runtime"
"github.com/leaanthony/spinner" "github.com/leaanthony/spinner"
"github.com/wailsapp/wails/cmd" "github.com/wailsapp/wails/cmd"
@ -35,6 +36,7 @@ func init() {
// Project options // Project options
projectOptions := &cmd.ProjectOptions{} projectOptions := &cmd.ProjectOptions{}
projectOptions.Verbose = verbose projectOptions.Verbose = verbose
projectOptions.Platform = runtime.GOOS
// Check we are in project directory // Check we are in project directory
// Check project.json loads correctly // Check project.json loads correctly