From e1dd77fd3fe776b7fcda1101eb3e5525d86ab79f Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 4 Jul 2021 09:51:19 +1000 Subject: [PATCH] [v2] Remove SetTitle from templates --- .../commands/initialise/templates/templates/svelte/app.tmpl.go | 1 - .../commands/initialise/templates/templates/vanilla/app.tmpl.go | 1 - 2 files changed, 2 deletions(-) diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/app.tmpl.go b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/app.tmpl.go index 2a1fb32ee..7c028c5c3 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/app.tmpl.go +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/app.tmpl.go @@ -20,7 +20,6 @@ func NewApp() *App { func (b *App) startup(runtime *wails.Runtime) { // Perform your setup here b.runtime = runtime - runtime.Window.SetTitle("{{.ProjectName}}") } // shutdown is called at application termination diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/app.tmpl.go b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/app.tmpl.go index ae5bff264..9c5ff006e 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/app.tmpl.go +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/app.tmpl.go @@ -20,7 +20,6 @@ func NewApp() *App { func (b *App) startup(runtime *wails.Runtime) { // Perform your setup here b.runtime = runtime - runtime.Window.SetTitle("{{.ProjectName}}") } // shutdown is called at application termination