github.com/secoba/wails/v2@v2.6.4/internal/app/app_default_unix.go (about)

     1  //go:build !dev && !production && !bindings && (linux || darwin)
     2  
     3  package app
     4  
     5  import (
     6  	"fmt"
     7  
     8  	"github.com/secoba/wails/v2/pkg/options"
     9  )
    10  
    11  func (a *App) Run() error {
    12  	return nil
    13  }
    14  
    15  // CreateApp creates the app!
    16  func CreateApp(_ *options.App) (*App, error) {
    17  	return nil, fmt.Errorf(`Wails applications will not build without the correct build tags.`)
    18  }