Initial support for firebug

This commit is contained in:
Lea Anthony
2020-10-28 21:11:13 +11:00
parent 4347d950d1
commit cb933cc987
13 changed files with 45 additions and 35 deletions

View File

@@ -574,6 +574,10 @@ func ldFlags(po *ProjectOptions, buildMode string) string {
ldflags += "-H windowsgui "
}
if po.UseFirebug {
ldflags += "-X github.com/wailsapp/wails/lib/renderer.UseFirebug=true "
}
ldflags += "-X github.com/wailsapp/wails.BuildMode=" + buildMode
// Add additional ldflags passed in via the `ldflags` cli flag