Windows console (#299)

* initial release of wails console

* lint fix
This commit is contained in:
Lea Anthony
2019-11-27 22:55:19 +11:00
committed by GitHub
parent 806b1aa8e0
commit 2c2aee2d30
12 changed files with 251 additions and 30 deletions

View File

@@ -74,6 +74,10 @@ func (h *Bridge) evalJS(js string, mtype messageType) error {
return nil
}
// EnableConsole not needed for bridge!
func (h *Bridge) EnableConsole() {
}
func (h *Bridge) injectCSS(css string) {
// Minify css to overcome issues in the browser with carriage returns
minified, err := htmlmin.Minify([]byte(css), &htmlmin.Options{