mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 13:19:00 -07:00
[v2] Remove platform for now
This commit is contained in:
@@ -42,7 +42,7 @@ func AddBuildSubcommand(app *clir.Cli, w io.Writer) {
|
||||
|
||||
// Setup Platform flag
|
||||
platform := runtime.GOOS
|
||||
command.StringFlag("platform", "Platform to target", &platform)
|
||||
//command.StringFlag("platform", "Platform to target", &platform)
|
||||
|
||||
// Verbosity
|
||||
verbosity := 1
|
||||
|
||||
@@ -38,6 +38,7 @@ func AddSubCommand(app *clir.Cli, parent *clir.Command, w io.Writer) {
|
||||
|
||||
// name is mandatory
|
||||
if name == "" {
|
||||
command.PrintHelp()
|
||||
return fmt.Errorf("no template name given")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user