mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-10 12:52:57 +08:00
Merge branch 'dedo1911-408-default-serve-platform' into develop
This commit is contained in:
commit
421c13805d
@ -26,4 +26,4 @@ Wails is what it is because of the time and effort given by these great people.
|
|||||||
* [Reuben Thomas-Davis](https://github.com/Rested)
|
* [Reuben Thomas-Davis](https://github.com/Rested)
|
||||||
* [Jarek](https://github.com/Jarek-SRT)
|
* [Jarek](https://github.com/Jarek-SRT)
|
||||||
* [Konez2k](https://github.com/konez2k)
|
* [Konez2k](https://github.com/konez2k)
|
||||||
* [msms](https://github.com/sayuthisobri)
|
* [msms](https://github.com/sayuthisobri)
|
||||||
|
File diff suppressed because one or more lines are too long
@ -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
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user