//Run the gotron-builder pipeline
Run the gotron-builder pipeline
// Run the gotron - builder pipeline
func (app *App) Run() (err error) {
	defer errz.Recover(&err)
	gbw, err := gotron.New(app.AppDir)
	err = gbw.CreateAppStructure()
	errz.Fatal(err)
	err = app.makeTempDir()
	errz.Fatal(err)
	err = app.installDependencies()
	errz.Fatal(err)
	err = app.buildElectron()
	errz.Fatal(err)
	err = app.syncDistDirs()
	errz.Fatal(err)
	err = app.buildGoCode()
	errz.Fatal(err)
	return err
}
func ( app * App ) Run ( ) ( err error ) { defer errz . Recover ( & err ) gbw , err := gotron . New ( app . AppDir ) err = gbw . CreateAppStructure ( ) errz . Fatal ( err ) err = app . makeTempDir ( ) errz . Fatal ( err ) err = app . installDependencies ( ) errz . Fatal ( err ) err = app . buildElectron ( ) errz . Fatal ( err ) err = app . syncDistDirs ( ) errz . Fatal ( err ) err = app . buildGoCode ( ) errz . Fatal ( err ) return err }
Run the gotron-builder pipeline
Run the gotron - builder pipeline
// Use gotron-browser-window to copy webapp // to .gotron dir. Let it handle the necessary logic // to validate webapp.